summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-3595.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/target/issue-3595.rs')
-rw-r--r--src/tools/rustfmt/tests/target/issue-3595.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/issue-3595.rs b/src/tools/rustfmt/tests/target/issue-3595.rs
new file mode 100644
index 000000000..3e06538a4
--- /dev/null
+++ b/src/tools/rustfmt/tests/target/issue-3595.rs
@@ -0,0 +1,4 @@
+struct ReqMsg();
+struct RespMsg();
+
+pub type TestType = fn() -> (ReqMsg, fn(RespMsg) -> ());