diff options
Diffstat (limited to 'src/tools/rustfmt/tests/target/issue-2446.rs')
-rw-r--r-- | src/tools/rustfmt/tests/target/issue-2446.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/issue-2446.rs b/src/tools/rustfmt/tests/target/issue-2446.rs new file mode 100644 index 000000000..be62e9c9c --- /dev/null +++ b/src/tools/rustfmt/tests/target/issue-2446.rs @@ -0,0 +1,9 @@ +enum Issue2446 { + V { + f: u8, // x + }, +} + +enum Issue2446TrailingCommentsOnly { + V { f: u8 /* */ }, +} |