mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
error: `#[do_not_recommend]` can only be placed on trait implementations
|
|
--> $DIR/incorrect-locations.rs:3:1
|
|
|
|
|
LL | #[do_not_recommend]
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: `#[do_not_recommend]` can only be placed on trait implementations
|
|
--> $DIR/incorrect-locations.rs:7:1
|
|
|
|
|
LL | #[do_not_recommend]
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: `#[do_not_recommend]` can only be placed on trait implementations
|
|
--> $DIR/incorrect-locations.rs:11:1
|
|
|
|
|
LL | #[do_not_recommend]
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: `#[do_not_recommend]` can only be placed on trait implementations
|
|
--> $DIR/incorrect-locations.rs:15:1
|
|
|
|
|
LL | #[do_not_recommend]
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: `#[do_not_recommend]` can only be placed on trait implementations
|
|
--> $DIR/incorrect-locations.rs:20:1
|
|
|
|
|
LL | #[do_not_recommend]
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: `#[do_not_recommend]` can only be placed on trait implementations
|
|
--> $DIR/incorrect-locations.rs:25:1
|
|
|
|
|
LL | #[do_not_recommend]
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: `#[do_not_recommend]` can only be placed on trait implementations
|
|
--> $DIR/incorrect-locations.rs:30:1
|
|
|
|
|
LL | #[do_not_recommend]
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: `#[do_not_recommend]` can only be placed on trait implementations
|
|
--> $DIR/incorrect-locations.rs:35:1
|
|
|
|
|
LL | #[do_not_recommend]
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 8 previous errors
|
|
|