Skip to content

Commit 365a2f8

Browse files
ytmimicalebcartwright
authored andcommitted
Add additional test cases for issue 4984
1 parent 40f4993 commit 365a2f8

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#[derive(
2+
/* ---------- Some really important comment that just had to go inside the derive --------- */
3+
Debug, Clone,/* Another comment */Eq, PartialEq,
4+
)]
5+
struct Foo {
6+
a: i32,
7+
b: T,
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#[derive(
2+
/* ---------- Some really important comment that just had to go inside the derive --------- */
3+
Debug,
4+
Clone,
5+
/* Another comment */ Eq,
6+
PartialEq,
7+
)]
8+
struct Foo {
9+
a: i32,
10+
b: T,
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#[derive(Clone, Debug, Eq, PartialEq)]
2+
struct Foo;
3+
4+
#[derive(Clone)]
5+
struct Bar;

0 commit comments

Comments
 (0)