rust/tests/ui/error-codes/E0191.rs
2023-01-11 09:32:08 +00:00

8 lines
83 B
Rust

trait Trait {
type Bar;
}
type Foo = dyn Trait; //~ ERROR E0191
fn main() {}