]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-type-bounds/issue-71443-1.rs
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
[rust.git] / src / test / ui / associated-type-bounds / issue-71443-1.rs
1 #![feature(associated_type_bounds)]
2
3 struct Incorrect;
4
5 fn hello<F: for<'a> Iterator<Item: 'a>>() {
6     Incorrect //~ERROR: mismatched types
7 }
8
9 fn main() {}