2024-05-15 00:49:33 +02:00
|
|
|
error: unknown diagnostic attribute
|
2024-11-18 10:45:26 -08:00
|
|
|
--> $DIR/suggest_typos.rs:4:15
|
2024-05-15 00:49:33 +02:00
|
|
|
|
|
|
|
|
|
LL | #[diagnostic::onunimplemented]
|
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2024-11-18 10:45:26 -08:00
|
|
|
--> $DIR/suggest_typos.rs:2:9
|
2024-05-15 00:49:33 +02:00
|
|
|
|
|
|
|
|
|
LL | #![deny(unknown_or_malformed_diagnostic_attributes)]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
help: an attribute with a similar name exists
|
|
|
|
|
|
|
2025-02-20 23:05:38 +00:00
|
|
|
LL | #[diagnostic::on_unimplemented]
|
|
|
|
|
| +
|
2024-05-15 00:49:33 +02:00
|
|
|
|
|
|
|
|
error: unknown diagnostic attribute
|
2024-11-18 10:45:26 -08:00
|
|
|
--> $DIR/suggest_typos.rs:9:15
|
2024-05-15 00:49:33 +02:00
|
|
|
|
|
|
|
|
|
LL | #[diagnostic::un_onimplemented]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
help: an attribute with a similar name exists
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - #[diagnostic::un_onimplemented]
|
|
|
|
|
LL + #[diagnostic::on_unimplemented]
|
|
|
|
|
|
|
2024-05-15 00:49:33 +02:00
|
|
|
|
|
|
|
|
error: unknown diagnostic attribute
|
2024-11-18 10:45:26 -08:00
|
|
|
--> $DIR/suggest_typos.rs:14:15
|
2024-05-15 00:49:33 +02:00
|
|
|
|
|
|
|
|
|
LL | #[diagnostic::on_implemented]
|
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
help: an attribute with a similar name exists
|
|
|
|
|
|
|
2025-02-20 23:05:38 +00:00
|
|
|
LL | #[diagnostic::on_unimplemented]
|
|
|
|
|
| ++
|
2024-05-15 00:49:33 +02:00
|
|
|
|
2025-03-24 01:02:07 +01:00
|
|
|
error: unknown diagnostic attribute
|
|
|
|
|
--> $DIR/suggest_typos.rs:19:15
|
|
|
|
|
|
|
|
|
|
|
LL | #[diagnostic::dont_recommend]
|
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
help: an attribute with a similar name exists
|
|
|
|
|
|
|
|
|
|
|
LL - #[diagnostic::dont_recommend]
|
|
|
|
|
LL + #[diagnostic::do_not_recommend]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2024-05-15 00:49:33 +02:00
|
|
|
|