rust/tests/ui/macros/macro-path-prelude-fail-5.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
260 B
Rust
Raw Normal View History

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