rustc/tests/ui/macros/macro-path-prelude-fail-5.rs
2023-09-14 08:56:40 +02:00

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() {}