rust/tests/ui/error-codes/E0191.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
83 B
Rust
Raw Normal View History

2016-06-01 09:30:13 -05:00
trait Trait {
type Bar;
}
2019-05-28 13:46:13 -05:00
type Foo = dyn Trait; //~ ERROR E0191
2016-06-01 09:30:13 -05:00
2018-11-03 23:47:10 -05:00
fn main() {}