-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ICE: could not resolve DefId
#132126
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Reduced: trait UnsafeCopy where Self: use<Self> {} |
Huh, this ICEs on stable |
searched nightlies: from nightly-2024-05-01 to nightly-2024-07-01 bisected with cargo-bisect-rustc v0.6.8Host triple: aarch64-unknown-linux-gnu cargo bisect-rustc --end=2024-07-01 --without-cargo --regress=ice --script=rustc -- check.rs |
Bisection isn't very useful because it basically just says "this has always ICE'd since the precise capturing rework" in #126049. cc @compiler-errors since you know best about the precise capturing feature. |
add and update some crashtests Adds tests for rust-lang#126268 and rust-lang#132126, updates it for rust-lang#131050.
add and update some crashtests Adds tests for rust-lang#126268 and rust-lang#132126, updates it for rust-lang#131050.
add and update some crashtests Adds tests for rust-lang#126268 and rust-lang#132126, updates it for rust-lang#131050.
Rollup merge of rust-lang#132543 - cyrgani:master, r=compiler-errors add and update some crashtests Adds tests for rust-lang#126268 and rust-lang#132126, updates it for rust-lang#131050.
@rustbot label: +S-bug-has-test |
Other MCVE (from the duplicate #141575): trait A<T: use<Self>>{} demonstrating that this affects type parameters in general, not just the |
auto-reduced (treereduce-rust):
original:
Version information
Possibly related line of code:
rust/compiler/rustc_hir_analysis/src/collect/resolve_bound_vars.rs
Lines 1429 to 1441 in 788202a
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc
Program output
The text was updated successfully, but these errors were encountered: