mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
13 lines
195 B
Rust
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 ()>>(());
|
|
}
|