We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The macro is panicking when emitting diagnostics on nightly.
error: proc-macro derive panicked --> tests/ui/missing_discriminant.rs:4:23 | 4 | #[derive(Clone, Copy, IntEnum)] | ^^^^^^^ | = help: message: assertion failed: child.level.can_be_top_or_sub().1
This is caused by a compiler change here https://github.com/rust-lang/rust/blob/59e0bc2de7134a2d88e9c14db32884e631e90373/compiler/rustc_errors/src/emitter.rs#L2119.
The only levels that can be used for sub-diagnostics emitted by proc-macros are now Warning, Note, and Help.
Warning
Note
Help
The text was updated successfully, but these errors were encountered:
Fix #16
d2ccc55
No branches or pull requests
The macro is panicking when emitting diagnostics on nightly.
This is caused by a compiler change here https://github.com/rust-lang/rust/blob/59e0bc2de7134a2d88e9c14db32884e631e90373/compiler/rustc_errors/src/emitter.rs#L2119.
The only levels that can be used for sub-diagnostics emitted by proc-macros are now
Warning
,Note
, andHelp
.The text was updated successfully, but these errors were encountered: