summaryrefslogtreecommitdiffstats
path: root/src/test/ui/where-clauses/where-clauses-lifetimes.rs
blob: 4bfd9e6590fba21e4b1d31207022aba3043a3050 (plain)
1
2
3
4
5
6
7
8
9
10
// run-pass
#![allow(unused_mut)]
#![allow(unused_variables)]
// pretty-expanded FIXME #23616

fn foo<'a, I>(mut it: I) where I: Iterator<Item=&'a isize> {}

fn main() {
    foo([1, 2].iter());
}