]> git.proxmox.com Git - rustc.git/blob - tests/ui/macros/macro-path-prelude-fail-5.stderr
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / ui / macros / macro-path-prelude-fail-5.stderr
1 error: expected derive macro, found built-in attribute `inline`
2 --> $DIR/macro-path-prelude-fail-5.rs:4:17
3 |
4 LL | #[derive(Debug, inline)]
5 | ^^^^^^ not a derive macro
6 |
7 help: remove from the surrounding `derive()`
8 --> $DIR/macro-path-prelude-fail-5.rs:4:17
9 |
10 LL | #[derive(Debug, inline)]
11 | ^^^^^^
12 = help: add as non-Derive macro
13 `#[inline]`
14
15 error: expected derive macro, found built-in attribute `inline`
16 --> $DIR/macro-path-prelude-fail-5.rs:7:10
17 |
18 LL | #[derive(inline, Debug)]
19 | ^^^^^^ not a derive macro
20 |
21 help: remove from the surrounding `derive()`
22 --> $DIR/macro-path-prelude-fail-5.rs:7:10
23 |
24 LL | #[derive(inline, Debug)]
25 | ^^^^^^
26 = help: add as non-Derive macro
27 `#[inline]`
28
29 error: aborting due to 2 previous errors
30