-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE using #![feature(extended_key_value_attributes)]
in an attribute for a macro
#80540
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
C-bug
Category: This is a bug.
F-extended_key_value_attributes
`#![feature(extended_key_value_attributes)]
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
I can hit an additional ICE by using an unknown attribute instead of a valid one: #![feature(extended_key_value_attributes)]
#[a = foo!()]
macro_rules! bar {
() => {};
}
fn main() {} Backtrace
I don't really think it's useful for this issue though, since it's a delayed error. |
Fixed in #80563. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
C-bug
Category: This is a bug.
F-extended_key_value_attributes
`#![feature(extended_key_value_attributes)]
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Found an ICE with
#![feature(extended_key_value_attributes)]
when trying to use it in the standard library (#80534).cc @petrochenkov #78835.
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: