summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/associated_type_bounds.rs
blob: 2dcbd65f86db75d57269007543cc4d743a85d607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// See #3657 - https://github.com/rust-lang/rustfmt/issues/3657

#![feature(associated_type_bounds)]

fn f<I: Iterator<Item: Clone>>() {}

fn g<I: Iterator<Item: Clone>>() {}

fn h<I: Iterator<Item: Clone>>() {}

fn i<I: Iterator<Item: Clone>>() {}

fn j<I: Iterator<Item: Clone + 'a>>() {}