ICE "Overflow should be caught earlier in standard query mode" building specialization graph with infinite-size structs #105231
Labels
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Found with a modified fuzz-rustc
Code
Error output
error[E0072]: recursive types
A
andB
have infinite sizethread 'rustc' panicked at 'Overflow should be caught earlier in standard query mode:
Error(ErrorGuaranteed(()))
', compiler/rustc_trait_selection/src/traits/select/mod.rs:531Full output including backtrace
Regression
Regression in nightly-2022-10-13, somewhere in rollup e6ce562, maybe #102890 (@camsteffen)
Version
The text was updated successfully, but these errors were encountered: