rust/tests/ui/impl-trait/rpit-assoc-pair-with-lifetime.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
139 B
Rust
Raw Normal View History

2022-07-26 13:50:25 -05:00
// check-pass
pub fn iter<'a>(v: Vec<(u32, &'a u32)>) -> impl DoubleEndedIterator<Item = (u32, &u32)> {
v.into_iter()
}
fn main() {}