Closed
Description
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
matthiaskrgr commentedon Sep 21, 2024
Command:
/home/gh-matthiaskrgr/.rustup/toolchains/local-debug-assertions/bin/rustc -Zincremental-verify-ich=yes -Cincremental=<dir> -Cdebuginfo=2 -Clink-dead-code=true -Zvalidate-mir --edition=2021
Program output
compiler-errors commentedon Sep 21, 2024
This has nothing to do with async closures?
compiler-errors commentedon Sep 21, 2024
I'm sensing a notable lack of the
async
keyword anywhere in this example...@rustbot label: -F-async_closure
[-]ICE: async closure: BrNamed != BrNamed[/-][+]ICE: closure_lifetime_binder: BrNamed != BrNamed[/+]7 remaining items