-
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. |
…olated_BETA, r=nnethercote [beta] [also fit for beta rollup] [HOTFIX] Don't delay a bug on malformed meta items involving interpolated tokens Directly fixes rust-lang#140612. <details><summary>Outdated Information</summary> Directly fixes the 3 crater regressions reported in rust-lang#137687 (comment) (NB: The containing issue rust-lang#137687 is in fact *not* an instance of these regressions, see rust-lang#137687 (comment)). </details> **Why is this a separate PR for `beta`**? Well, the crater regressions were already fixed on master albeit unintentionally so, namely by PR rust-lang#124141 which we **certainly** don't want to backport! So this is simply a hotfix. PR rust-lang#140584 will then provide the regression test for master, too, so it doesn't get 'lost'. [`@]T-release,` if/once accepted by T-compiler, this PR will be fit for beta rollup and can be cherry-picked. <details><summary>Slightly Outdated & Irrelevant Information</summary> FYI, we may also want to (separately) backport PR rust-lang#140584 to [fix] rust-lang#137687 (which, again, is not an instance of the crater regressions) but it's unclear if it's really necessary (since it's fuzzer-generated and I don't know of any real users who are impacted). </details> cc `@jdonszelmann` r? fmease
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: