diff options
Diffstat (limited to 'src/tools/rustfmt/tests/target/issue_4954.rs')
-rw-r--r-- | src/tools/rustfmt/tests/target/issue_4954.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/issue_4954.rs b/src/tools/rustfmt/tests/target/issue_4954.rs new file mode 100644 index 000000000..aa5e79bef --- /dev/null +++ b/src/tools/rustfmt/tests/target/issue_4954.rs @@ -0,0 +1,7 @@ +trait Foo { + type Arg<'a>; +} + +struct Bar<T>(T) +where + for<'a> T: Foo<Arg<'a> = ()>; |