mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
11 lines
260 B
Rust
11 lines
260 B
Rust
#[derive(Clone, Debug)] // OK
|
|
struct S;
|
|
|
|
#[derive(Debug, inline)] //~ ERROR expected derive macro, found built-in attribute `inline`
|
|
struct T;
|
|
|
|
#[derive(inline, Debug)] //~ ERROR expected derive macro, found built-in attribute `inline`
|
|
struct U;
|
|
|
|
fn main() {}
|