mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
16 lines
421 B
Text
16 lines
421 B
Text
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
|
|
|