]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/associated-types-from-supertrait.rs
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
[rust.git] / src / test / ui / associated-types / associated-types-from-supertrait.rs
1 // run-pass
2
3 trait Foo: Iterator<Item = i32> {}
4 trait Bar: Foo {}
5
6 fn main() {
7     let _: &dyn Bar;
8 }