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

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

17 lines
421 B
Plaintext
Raw Permalink Normal View History

error: expected derive macro, found built-in attribute `inline`
--> $DIR/macro-path-prelude-fail-4.rs:1:10
|
2019-03-09 06:03:44 -06:00
LL | #[derive(inline)]
2023-03-31 21:52:58 -05:00
| ^^^^^^ not a derive macro
|
help: remove from the surrounding `derive()`
2023-03-31 21:52:58 -05:00
--> $DIR/macro-path-prelude-fail-4.rs:1:10
|
2023-03-31 21:52:58 -05:00
LL | #[derive(inline)]
| ^^^^^^
= help: add as non-Derive macro
`#[inline]`
error: aborting due to 1 previous error