Skip to content

Commit d8527e6

Browse files
Remove unused diagnostics
1 parent a78b703 commit d8527e6

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

compiler/rustc_lint/src/lints.rs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3689,27 +3689,6 @@ pub(crate) struct UnusedDuplicate {
36893689
pub warning: bool,
36903690
}
36913691

3692-
#[derive(LintDiagnostic)]
3693-
#[diag("malformed `doc` attribute input")]
3694-
#[warning(
3695-
"this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!"
3696-
)]
3697-
pub(crate) struct MalformedDoc;
3698-
3699-
#[derive(LintDiagnostic)]
3700-
#[diag("didn't expect any arguments here")]
3701-
#[warning(
3702-
"this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!"
3703-
)]
3704-
pub(crate) struct ExpectedNoArgs;
3705-
3706-
#[derive(LintDiagnostic)]
3707-
#[diag("expected this to be of the form `... = \"...\"`")]
3708-
#[warning(
3709-
"this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!"
3710-
)]
3711-
pub(crate) struct ExpectedNameValue;
3712-
37133692
#[derive(LintDiagnostic)]
37143693
#[diag("unsafe attribute used without unsafe")]
37153694
pub(crate) struct UnsafeAttrOutsideUnsafeLint {

0 commit comments

Comments
 (0)