]> git.proxmox.com Git - rustc.git/blob - src/test/ui/associated-type-bounds/issue-71443-1.rs
Update upstream source from tag 'upstream/1.49.0_beta.4+dfsg1'
[rustc.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() {}