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 14:30:13 +00:00
trait Trait {
type Bar;
}
2019-05-28 18:46:13 +00:00
type Foo = dyn Trait; //~ ERROR E0191
2016-06-01 14:30:13 +00:00
2018-11-04 04:47:10 +00:00
fn main() {}