summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-2976.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/target/issue-2976.rs')
-rw-r--r--src/tools/rustfmt/tests/target/issue-2976.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/issue-2976.rs b/src/tools/rustfmt/tests/target/issue-2976.rs
new file mode 100644
index 000000000..51c94a84b
--- /dev/null
+++ b/src/tools/rustfmt/tests/target/issue-2976.rs
@@ -0,0 +1,3 @@
+fn a(_ /*comment*/: u8 /* toto */) {}
+fn b(/*comment*/ _: u8 /* tata */) {}
+fn c(_: /*comment*/ u8) {}