rust/tests/ui/feature-gates/feature-gate-trait-alias.rs
2023-01-11 09:32:08 +00:00

5 lines
77 B
Rust

trait Foo = Default;
//~^ ERROR trait aliases are experimental
fn main() {}