mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
5b576665e5
Co-authored-by: est31 <est31@users.noreply.github.com> Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com> Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>
17 lines
483 B
Plaintext
17 lines
483 B
Plaintext
warning: unknown diagnostic attribute
|
|
--> $DIR/non_existing_attributes_accepted.rs:3:15
|
|
|
|
|
LL | #[diagnostic::non_existing_attribute]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(unknown_diagnostic_attributes)]` on by default
|
|
|
|
warning: unknown diagnostic attribute
|
|
--> $DIR/non_existing_attributes_accepted.rs:8:15
|
|
|
|
|
LL | #[diagnostic::non_existing_attribute(with_option = "foo")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: 2 warnings emitted
|
|
|