-
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
Unexpected Regression in Rust 1.47 for Custom Derives #77718
Comments
This is mentioned in the release notes: https://github.com/rust-lang/rust/blob/master/RELEASES.md#compatibility-notes
However, it might be a good idea to feature this more prominently. @mitsuhiko: I'm sorry about the breakage that this has caused. This is an unfortunate consequence of making progress on #43081 - as we preserve tokens more precisely, we will start to pass new We did a Crater run before landing the change, but it looks like Crater didn't cover any code that uses |
No worries. Indeed linked from the PR in the changelog (#73084) is a similar fix: rustwasm/wasm-bindgen@3dd8f3d#diff-72d47f188a68cf3b429a932845476c3bR379-R386
It only breaks when you use array types it seems. |
If it helps, we found this in https://github.com/luser/rust-minidump. |
It looks like the |
That makes sense. The |
Crater theoretically checks all Rust repositories on Github - see https://github.com/rust-lang/rust-repos/ The However, the cc @rust-lang/infra : Does anyone know why a Github repository (https://github.com/luser/rust-minidump) that's include in |
Ah, found the issue. Crater is only testing repositories with both a https://github.com/rust-lang/crater/blob/master/src/crates/sources/github.rs#L44-L47
|
I opened rust-lang/crater#548 to address this issue for future Crater runs. |
Going to close this issue as it's working as intended. |
This is a meta issue that the
scroll
crate changed behavior in 1.47 which broke theminidump
crate. There is a pull request to thescroll
crate to fix the issue here: m4b/scroll#75There is also a repo with a repro case: https://github.com/mitsuhiko/rustc-147-macro-regression
I was surprised to see that a stable update to Rust would do this. Apparently macro expansion of array types in struct fields creates invisible type groups which were previously not emitted.
I'm not sure if this issue is valid but I figured I might surface it.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: