-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: expr in place where literal is expected (builtin attr parsing)
#137687
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
Comments
smaller #[crate_name = concat !()]
macro_rules !a {
() => {}
}
fn main() {} |
Here we go again 😂. @rustbot claim |
Ah, crate_name probably has similar exceptions as crate type from last time. I know how to fix so that's good :) |
Yes :) albeit more recent and even stricter: #127581 (merged two weeks ago) :D |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Nota bene: Matthias's ICE != the 3 ICEs from the crater regression! Matthias's ICE triggers the delayed_span_bugs found in This is relevant/important because PR #124141 unintentionally fixed the crater regressions on master but not Matthias's issue (of which we don't know if it's likely to be hit by real users and thus worth hotfixing on beta). For that, subscribe to draft PR #140584. |
NOTE: reading two separate issues in a trenchcoat is really confusing me, so I pulled out the crater regression into a separate issue #140612 to make it clear we're tracking two different issues. I've reproduced the comments pertaining to the crater regressions in #140612, and I'll mark the comment pertaining to the crater regressions on this issue as off-topic to prevent it from being way too confusing. I'll also update the PRs that backlink this issue if suitable. |
Re. this regression, we may want to revisit its prioritization. |
auto-reduced (treereduce-rust):
original:
Version information
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc --crate-type=lib
Program output
The text was updated successfully, but these errors were encountered: