rust/src/test/ui/issues/issue-46959.rs
2018-12-25 21:08:33 -07:00

10 lines
179 B
Rust

// compile-pass
#![deny(non_camel_case_types)]
#[allow(dead_code)]
fn qqq(lol: impl Iterator<Item=u32>) -> impl Iterator<Item=u64> {
lol.map(|x|x as u64)
}
fn main() {}