ICE: closure_lifetime_binder: BrNamed != BrNamed #130663
Closed
Description
opened on Sep 21, 2024
auto-reduced (treereduce-rust):
fn hello(x: &Ty) {
let _ = for<'a> |x: &u8| -> &'a () { x };
}
struct Ty;
fn A() {}
original:
#![feature(async_closure)]
fn hello(x: &Ty) {
let _ = for<'a> |x: &u8| -> &'a () { x };
}
struct Ty;
impl Ty {
fn hello(&self) {}
}
fn A() {}
Version information
rustc 1.83.0-dev
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.83.0-dev
LLVM version: 19.1.0
Activity