mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
10 lines
177 B
Rust
10 lines
177 B
Rust
// check-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() {}
|