diff --git a/tests/source/associated_type_bounds.rs b/tests/source/associated_type_bounds.rs new file mode 100644 index 00000000000..8572778a5a5 --- /dev/null +++ b/tests/source/associated_type_bounds.rs @@ -0,0 +1,13 @@ +// See #3657 - https://github.com/rust-lang/rustfmt/issues/3657 + +#![feature(associated_type_bounds)] + +fn f>() {} + +fn g>() {} + +fn h>() {} + +fn i>() {} + +fn j>() {} diff --git a/tests/target/associated_type_bounds.rs b/tests/target/associated_type_bounds.rs new file mode 100644 index 00000000000..2dcbd65f86d --- /dev/null +++ b/tests/target/associated_type_bounds.rs @@ -0,0 +1,13 @@ +// See #3657 - https://github.com/rust-lang/rustfmt/issues/3657 + +#![feature(associated_type_bounds)] + +fn f>() {} + +fn g>() {} + +fn h>() {} + +fn i>() {} + +fn j>() {}