]> git.lizzy.rs Git - rust.git/blob - tests/ui/associated-types/associated-types-from-supertrait.rs
Rollup merge of #106427 - mejrs:translation_errors, r=davidtwco
[rust.git] / tests / 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 }