summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-path-prelude-fail-4.stderr
blob: 81c6722b56a826abece4e3690aa9e636a909cbfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: expected derive macro, found built-in attribute `inline`
  --> $DIR/macro-path-prelude-fail-4.rs:1:10
   |
LL | #[derive(inline)]
   |          ^^^^^^ not a derive macro
   |
help: remove from the surrounding `derive()`
  --> $DIR/macro-path-prelude-fail-4.rs:1:10
   |
LL | #[derive(inline)]
   |          ^^^^^^
   = help: add as non-Derive macro
           `#[inline]`

error: aborting due to previous error