-
Notifications
You must be signed in to change notification settings - Fork 13k
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
ICE: compiler/rustc_hir_analysis/src/collect/predicates_of.rs:991:14: const_conditions called on wrong item: DefId(0:12 ~ mutant[8623]::{impl#0}::{synthetic#0}) #133918
Comments
@wxie7: If you're going to use fuzzers to find ICEs in the compiler, it would be useful if you also took some time to minimize the tests. A minimal test makes it much easier to fix the issue and also add the test into the test suite. |
@compiler-errors In this code, I manually removed some irrelevant parts, and I cannot confirm the remaining sections. |
Minimized: #[const_trait]
pub trait MyTrait {
fn foo() -> impl 'x;
} feature gate not required. Maybe error tainting related but haven't looked at this closely. |
…r=lcnr Fix const conditions for RPITITs Fixes rust-lang#133918 r? lcnr
…r=lcnr Fix const conditions for RPITITs Fixes rust-lang#133918 r? lcnr
…r=lcnr Fix const conditions for RPITITs Fixes rust-lang#133918 r? lcnr
…r=lcnr Fix const conditions for RPITITs Fixes rust-lang#133918 r? lcnr
…r=lcnr Fix const conditions for RPITITs Fixes rust-lang#133918 r? lcnr
Rollup merge of rust-lang#133926 - compiler-errors:const-conditions, r=lcnr Fix const conditions for RPITITs Fixes rust-lang#133918 r? lcnr
I tried this code:
It mutates from the following code, but the following code will not cause a ICE.
Meta
Backtrace
The text was updated successfully, but these errors were encountered: