cxxrtl: fix `debug_info()` deprecation message.

This commit is contained in:
Jean-François Nguyen 2024-06-07 05:15:38 +02:00 committed by Catherine
parent b056e8c0ba
commit 54d5e56745
1 changed files with 1 additions and 1 deletions

View File

@ -1582,7 +1582,7 @@ struct module {
// Compatibility method.
#if __has_attribute(deprecated)
__attribute__((deprecated("Use `debug_info(path, &items, /*scopes=*/nullptr);` instead. (`path` could be \"top \".)")))
__attribute__((deprecated("Use `debug_info(&items, /*scopes=*/nullptr, path);` instead. (`path` could be \"top \".)")))
#endif
void debug_info(debug_items &items, std::string path) {
debug_info(&items, /*scopes=*/nullptr, path);