]> git.lizzy.rs Git - rust.git/blob - src/test/ui/where-clauses/where-clauses-lifetimes.rs
Auto merge of #106143 - matthiaskrgr:rollup-3kpy1dc, r=matthiaskrgr
[rust.git] / src / test / ui / where-clauses / where-clauses-lifetimes.rs
1 // run-pass
2 #![allow(unused_mut)]
3 #![allow(unused_variables)]
4 // pretty-expanded FIXME #23616
5
6 fn foo<'a, I>(mut it: I) where I: Iterator<Item=&'a isize> {}
7
8 fn main() {
9     foo([1, 2].iter());
10 }