rust/tests/crashes/131668.rs
2024-10-20 10:05:39 +02:00

13 lines
195 B
Rust

//@ known-bug: #131668
#![feature(generic_associated_types_extended)]
trait B {
type Y<const N: i16>;
}
struct Erase<T: B>(T);
fn make_static() {
Erase::<dyn for<'c> B<&'c ()>>(());
}