summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-type-bounds/issue-71443-1.rs
blob: 5d2a3e6cbad12207bc26c1d9c001501293ef21f1 (plain)
1
2
3
4
5
6
7
8
9
#![feature(associated_type_bounds)]

struct Incorrect;

fn hello<F: for<'a> Iterator<Item: 'a>>() {
    Incorrect //~ERROR: mismatched types
}

fn main() {}