]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/associated_type_bounds.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[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>>() {}