]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0191.rs
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / error-codes / E0191.rs
1 trait Trait {
2     type Bar;
3 }
4
5 type Foo = dyn Trait; //~ ERROR E0191
6
7 fn main() {}