mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
Add additional test cases for issue 4984
This commit is contained in:
committed by
Caleb Cartwright
parent
40f4993c67
commit
365a2f8f6e
@@ -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,
|
||||
}
|
||||
@@ -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,
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
struct Foo;
|
||||
|
||||
#[derive(Clone)]
|
||||
struct Bar;
|
||||
Reference in New Issue
Block a user