mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 06:35:27 +00:00
Bless
This commit is contained in:
parent
ed84d1d905
commit
86230dcde6
@ -2,11 +2,13 @@ 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()`
|
||||
| ^^^^^^ 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]`
|
||||
|
||||
|
@ -56,11 +56,13 @@ error: expected derive macro, found attribute macro `my_macro_attr`
|
||||
--> $DIR/macro-namespace-reserved-2.rs:53:10
|
||||
|
|
||||
LL | #[derive(my_macro_attr)]
|
||||
| ^^^^^^^^^^^^^
|
||||
| |
|
||||
| not a derive macro
|
||||
| help: Remove from the surrounding `derive()`
|
||||
| ^^^^^^^^^^^^^ not a derive macro
|
||||
|
|
||||
help: Remove from the surrounding `derive()`
|
||||
--> $DIR/macro-namespace-reserved-2.rs:53:10
|
||||
|
|
||||
LL | #[derive(my_macro_attr)]
|
||||
| ^^^^^^^^^^^^^
|
||||
= help: Add as non-Derive macro
|
||||
`#[my_macro_attr]`
|
||||
|
||||
@ -92,11 +94,13 @@ error: expected derive macro, found macro `crate::my_macro`
|
||||
--> $DIR/macro-namespace-reserved-2.rs:50:10
|
||||
|
|
||||
LL | #[derive(crate::my_macro)]
|
||||
| ^^^^^^^^^^^^^^^
|
||||
| |
|
||||
| not a derive macro
|
||||
| help: Remove from the surrounding `derive()`
|
||||
| ^^^^^^^^^^^^^^^ not a derive macro
|
||||
|
|
||||
help: Remove from the surrounding `derive()`
|
||||
--> $DIR/macro-namespace-reserved-2.rs:50:10
|
||||
|
|
||||
LL | #[derive(crate::my_macro)]
|
||||
| ^^^^^^^^^^^^^^^
|
||||
= help: Add as non-Derive macro
|
||||
`#[crate::my_macro]`
|
||||
|
||||
|
@ -2,11 +2,13 @@ error: expected derive macro, found tool attribute `rustfmt::skip`
|
||||
--> $DIR/tool-attributes-misplaced-2.rs:1:10
|
||||
|
|
||||
LL | #[derive(rustfmt::skip)]
|
||||
| ^^^^^^^^^^^^^
|
||||
| |
|
||||
| not a derive macro
|
||||
| help: Remove from the surrounding `derive()`
|
||||
| ^^^^^^^^^^^^^ not a derive macro
|
||||
|
|
||||
help: Remove from the surrounding `derive()`
|
||||
--> $DIR/tool-attributes-misplaced-2.rs:1:10
|
||||
|
|
||||
LL | #[derive(rustfmt::skip)]
|
||||
| ^^^^^^^^^^^^^
|
||||
= help: Add as non-Derive macro
|
||||
`#[rustfmt::skip]`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user