-
-
Notifications
You must be signed in to change notification settings - Fork 17.3k
The -Z external-macro-backtrace message will appear in the stable channel #46167
Copy link
Copy link
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Activity
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Since #45545 is merged, when an error happens in an external macro, rustc will suggest the user to supply the unstable flag
-Z external-macro-backtraceto see the detailed backtrace:The problem is that
-Zflags cannot be used in beta/stable, so the suggestion will be wrong. The question would be:(in nightly, run with -Z external-macro-backtrace for more info)See #45545 (comment) for detail.
cc @durka