rust/tests/ui/const-generics/issues/issue-83993.rs

15 lines
176 B
Rust
Raw Normal View History

// check-pass
#![feature(generic_const_exprs)]
#![allow(incomplete_features)]
fn bug<'a>()
where
for<'b> [(); {
let x: &'b ();
0
}]:
{}
fn main() {}