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

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

31 lines
844 B
Plaintext
Raw Normal View History

error: expected derive macro, found built-in attribute `inline`
--> $DIR/macro-path-prelude-fail-5.rs:4:17
|
LL | #[derive(Debug, inline)]
| ^^^^^^ not a derive macro
|
help: remove from the surrounding `derive()`
--> $DIR/macro-path-prelude-fail-5.rs:4:17
|
LL | #[derive(Debug, inline)]
| ^^^^^^
= help: add as non-Derive macro
`#[inline]`
error: expected derive macro, found built-in attribute `inline`
--> $DIR/macro-path-prelude-fail-5.rs:7:10
|
LL | #[derive(inline, Debug)]
| ^^^^^^ not a derive macro
|
help: remove from the surrounding `derive()`
--> $DIR/macro-path-prelude-fail-5.rs:7:10
|
LL | #[derive(inline, Debug)]
| ^^^^^^
= help: add as non-Derive macro
`#[inline]`
error: aborting due to 2 previous errors