summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/associated-types-bounds-wrapping.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/target/associated-types-bounds-wrapping.rs')
-rw-r--r--src/tools/rustfmt/tests/target/associated-types-bounds-wrapping.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/associated-types-bounds-wrapping.rs b/src/tools/rustfmt/tests/target/associated-types-bounds-wrapping.rs
new file mode 100644
index 000000000..8aaeee3b1
--- /dev/null
+++ b/src/tools/rustfmt/tests/target/associated-types-bounds-wrapping.rs
@@ -0,0 +1,6 @@
+// Test proper wrapping of long associated type bounds
+
+pub trait HttpService {
+ type WsService: 'static
+ + Service<Request = WsCommand, Response = WsResponse, Error = ServerError>;
+}