summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/issue-46959.rs
blob: 3611a956836ce063303b65ff1bc4eb4664aadb2e (plain)
1
2
3
4
5
6
7
8
9
// 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() {}