Add additional test cases for issue 4984

This commit is contained in:
Yacin Tmimi 2021-09-29 14:18:54 -04:00 committed by Caleb Cartwright
parent 40f4993c67
commit 365a2f8f6e
3 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,8 @@
#[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,
}

View file

@ -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,
}

View file

@ -0,0 +1,5 @@
#[derive(Clone, Debug, Eq, PartialEq)]
struct Foo;
#[derive(Clone)]
struct Bar;