-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
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
ICE using #![feature(extended_key_value_attributes)]
in an attribute for a macro
#80540
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
LeSeulArtichaut
added
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
C-bug
Category: This is a bug.
requires-nightly
This issue requires a nightly compiler in some way.
F-extended_key_value_attributes
`#![feature(extended_key_value_attributes)]
labels
Dec 31, 2020
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in 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: