mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
17 lines
421 B
Plaintext
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
|
|
|