-
Notifications
You must be signed in to change notification settings - Fork 1.6k
ICE in v1.50.0 that does not occur in v1.49.0 #6840
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
@rustbot label +E-needs-mcve +regression-from-stable-to-stable |
Note: their CI runs
I've tried bisecting this by removing this file that hardcodes 1.49 rustc and with 1.50 this is what I see:
does that help? @rustbot ping icebreakers-cleanup-crew |
Hey Cleanup Crew ICE-breakers! This bug has been identified as a good cc @AminArria @camelid @chrissimpkins @contrun @DutchGhost @elshize @ethanboxx @h-michael @HallerPatrick @hdhoang @hellow554 @henryboisdequin @imtsuki @JamesPatrickGill @kanru @KarlK90 @LeSeulArtichaut @MAdrianMattocks @matheus-consoli @mental32 @nmccarty @Noah-Kennedy @pard68 @PeytonT @pierreN @Redblueflame @RobbieClarken @RobertoSnap @robjtede @SarthakSingh31 @shekohex @sinato @smmalis37 @steffahn @Stupremee @tamuhey @turboladen @woshilapin @yerke |
Likely in this rollup rust-lang/rust@15d1f81 I think. The other commits in that range don't seem related to types at all to me. Of note is there's a Clippy update in there with 114 commits: https://github.com/rust-lang/rust/pull/80239/commits. Anyone able to bisect those? |
Looking at the backtrace, #6218 is possibly the cause. |
Looks like Clippy has a fix for it already: #6539 |
Reduced: use std::collections::HashMap;
pub trait Rule {
type DependencyKey;
}
pub struct RuleEdges<R: Rule> {
dependencies: R::DependencyKey,
}
type RuleDependencyEdges<R> = HashMap<u32, RuleEdges<R>>;
|
Thanks @SNCPlay42! It shows this isn't a duplicate but a Clippy ICE actually, I'd transfer this issue to the Clippy repo. cc @rust-lang/clippy could someone transfer this issue? |
While this issue is related to #6539, it wasn't fixed by rust-lang/rust@feee45c. So yes, this issue should be moved to rust-lang/rust-clippy. (I can't move it myself) |
Fix ICE 6840 - make is_normalizable more strict fixes #6840 make `is_normalizable` more strict, which should catch this ICE and related cases changelog:
Code
The following crate in the Pants project triggers an ICE on v1.50.0 but not on v1.49.0 when running
cargo clippy
: https://github.com/pantsbuild/pants/tree/master/src/rust/engine/rule_graphMeta
The ICE occurs in v1.50.0 and in a recent nightly. It does not occur v1.49.0.
rustc --version --verbose
:Occurs for this version of nightly as well:
Error output
The text was updated successfully, but these errors were encountered: