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 Normal View History

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