summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0191.rs
blob: 22f739b9e76c2228218f69e2c0265ca93f4183e3 (plain)
1
2
3
4
5
6
7
trait Trait {
    type Bar;
}

type Foo = dyn Trait; //~ ERROR E0191

fn main() {}