]> git.proxmox.com Git - rustc.git/blob - src/test/ui/where-clauses/where-clauses-lifetimes.rs
New upstream version 1.38.0+dfsg1
[rustc.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 }