• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error: expected derive macro, found built-in attribute `inline`
2  --> $DIR/macro-path-prelude-fail-5.rs:4:17
3   |
4LL | #[derive(Debug, inline)]
5   |                 ^^^^^^ not a derive macro
6   |
7help: remove from the surrounding `derive()`
8  --> $DIR/macro-path-prelude-fail-5.rs:4:17
9   |
10LL | #[derive(Debug, inline)]
11   |                 ^^^^^^
12   = help: add as non-Derive macro
13           `#[inline]`
14
15error: expected derive macro, found built-in attribute `inline`
16  --> $DIR/macro-path-prelude-fail-5.rs:7:10
17   |
18LL | #[derive(inline, Debug)]
19   |          ^^^^^^ not a derive macro
20   |
21help: remove from the surrounding `derive()`
22  --> $DIR/macro-path-prelude-fail-5.rs:7:10
23   |
24LL | #[derive(inline, Debug)]
25   |          ^^^^^^
26   = help: add as non-Derive macro
27           `#[inline]`
28
29error: aborting due to 2 previous errors
30
31