]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/associated_type_bounds.rs
Rollup merge of #95040 - frank-king:fix/94981, r=Mark-Simulacrum
[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>>() {}