diff options
Diffstat (limited to 'src/tools/rustfmt/tests/target/issue-4984/multiple_comments_within.rs')
-rw-r--r-- | src/tools/rustfmt/tests/target/issue-4984/multiple_comments_within.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/issue-4984/multiple_comments_within.rs b/src/tools/rustfmt/tests/target/issue-4984/multiple_comments_within.rs new file mode 100644 index 000000000..d2924f0d0 --- /dev/null +++ b/src/tools/rustfmt/tests/target/issue-4984/multiple_comments_within.rs @@ -0,0 +1,11 @@ +#[derive( + /* ---------- Some really important comment that just had to go inside the derive --------- */ + Debug, + Clone, + /* Another comment */ Eq, + PartialEq, +)] +struct Foo { + a: i32, + b: T, +} |