-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
#[repr(align)]
with no argument to align
leads to ICE on Nightly/Beta.
#85713
Comments
@rustbot modify labels: regression-from-stable-to-beta |
Was introcuded by #81234 cc @repnop Not sure why this was done: https://github.com/rust-lang/rust/pull/81234/files#diff-056d6eadf00f9575945a2e2b893636b990351ae149148579492a6a35c60d77a7L969-R940 |
Assigning priority as discussed in the Zulip thread of the Prioritization Working Group. @rustbot label -I-prioritize +P-medium |
cc @lcnr |
Hmm, that should be caught here: https://github.com/rust-lang/rust/pull/81234/files#diff-77c442894af49f492927d99f7e60f4365a4829100c0c52f565f42dc184712c76R1222 Maybe check_attr isn't running on the attribute for some reason? |
The diff you're pointing to is handling cases like #[repr(foo)]
pub struct Foo; |
@rustbot claim |
I'm happy to see #85976, but for beta backport we'll likely want a smaller PR or a revert of the PR introducing this issue. |
Issue: rust-lang/rust#85713
…imulacrum [stable] 1.53.0 release This includes a backport of: * Revert "implement TrustedRandomAccess for Take iterator adapter" rust-lang#85975 And includes patches to: * Update release notes to reflect rust-lang#85541 * Require RUSTC_FORCE_INCREMENTAL to truly enable incremental, fixing rust-lang#86004 * This reverts alignment-related commits to address issue rust-lang#85713 on beta. r? `@Mark-Simulacrum`
Triage: Fixed by #87013, it has a regression test for this case, closing. |
Reopening - that PR has not been backported to 1.54 (beta) yet. |
We should mark #87013 as |
Code
Meta
Version: 1.54.0-nightly (2021-05-25 ff2c947)
Found this on the Rust playground: reproducing link. Not sure how to get the verbose version output from the playground.
Error output
Backtrace
The text was updated successfully, but these errors were encountered: