]> git.lizzy.rs Git - rust.git/blob - tests/ui/where-clauses/where-clauses-lifetimes.rs
Rollup merge of #106726 - cmorin6:fix-comment-typos, r=Nilstrieb
[rust.git] / tests / 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 }