rust/tests/ui/const-generics/late-bound-vars/late-bound-in-where-issue-83993.rs
2024-02-16 20:02:50 +00:00

16 lines
255 B
Rust

//@ known-bug: unknown
// see comment on `tests/ui/const-generics/late-bound-vars/simple.rs`
#![feature(generic_const_exprs)]
#![allow(incomplete_features)]
fn bug<'a>()
where
for<'b> [(); {
let x: &'b ();
0
}]:
{}
fn main() {}