rust/tests/ui/never_type/never-type-in-nested-fn-dec...

8 lines
111 B
Rust

//@ build-pass
trait X<const N: i32> {}
fn hello<T: X<{ fn hello() -> ! { loop {} } 1 }>>() {}
fn main() {}