ICE: has escaping bound vars, so it cannot be wrapped in a dummy binder
with unsafe_binders
#141422
Labels
C-bug
Category: This is a bug.
F-unsafe_binders
`#![feature(unsafe_binders)]`
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.
Code
A mutant from glacier2's
fixed/134764.rs
Meta
rustc --version --verbose
:Error output
command:
rustc
Backtrace
Bisects to
searched nightlies: from nightly-2024-05-01 to nightly-2025-05-22
regressed nightly: nightly-2024-12-25
searched commit range: bdc6b3d...409998c
regressed commit: f334342
bisected with cargo-bisect-rustc v0.6.9
Host triple: x86_64-unknown-linux-gnu
Reproduce with:
Notes
compiler/rustc_middle/src/ty/predicate.rs Line-510
rust/compiler/rustc_middle/src/ty/predicate.rs
Lines 508 to 512 in 2eef478
@rustbot label +F-unsafe_binders
The text was updated successfully, but these errors were encountered: