rust/tests/ui/macros/macro-path-prelude-fail-5.stderr
2023-04-07 04:22:43 +01:00

31 lines
844 B
Plaintext

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