diff options
Diffstat (limited to '')
-rw-r--r-- | src/tools/rustfmt/tests/target/associated-types-bounds-wrapping.rs | 6 |
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>; +} |