]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/associated_type_bounds.rs
Auto merge of #95315 - compiler-errors:pointee-fix, r=pnkfelix
[rust.git] / src / tools / rustfmt / tests / target / associated_type_bounds.rs
1 // See #3657 - https://github.com/rust-lang/rustfmt/issues/3657
2
3 #![feature(associated_type_bounds)]
4
5 fn f<I: Iterator<Item: Clone>>() {}
6
7 fn g<I: Iterator<Item: Clone>>() {}
8
9 fn h<I: Iterator<Item: Clone>>() {}
10
11 fn i<I: Iterator<Item: Clone>>() {}
12
13 fn j<I: Iterator<Item: Clone + 'a>>() {}