rust/tests/target/issue-4984/multi_line_derive.rs

27 lines
428 B
Rust
Raw Normal View History

#[derive(
/* ---------- Some really important comment that just had to go inside the derive --------- */
Debug,
Clone,
Eq,
PartialEq,
)]
struct Foo {
a: i32,
b: T,
}
#[derive(
/*
Some really important comment that just had to go inside the derive.
Also had to be put over multiple lines
*/
Debug,
Clone,
Eq,
PartialEq,
)]
struct Bar {
a: i32,
b: T,
}