summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-path-prelude-fail-5.rs
blob: b82b6bc7878599b294a5fc8e8c694b14f0d369cd (plain)
1
2
3
4
5
6
7
8
9
10
#[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() {}