]> git.lizzy.rs Git - rust.git/blob - src/test/ui/where-clauses/where-clauses-lifetimes.rs
Rollup merge of #100192 - tmiasko:rm-duplicated-locals, r=nagisa
[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 }