blob: 8572778a5a534449436739c476623d35e4272c1e (
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>>() {}
|