rust/tests/ui/macros/macro-path-prelude-fail-4.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

17 lines
421 B
Plaintext

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