migrate: redundant_semicolon.rs
This commit is contained in:
parent
a42afa0444
commit
c3a6801f8e
2 changed files with 13 additions and 12 deletions
|
@ -6,6 +6,14 @@ use rustc_span::{Span, Symbol};
|
|||
|
||||
use crate::LateContext;
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_redundant_semicolons)]
|
||||
pub struct RedundantSemicolonsDiag {
|
||||
pub multiple: bool,
|
||||
#[suggestion(code = "", applicability = "maybe-incorrect")]
|
||||
pub suggestion: Span,
|
||||
}
|
||||
|
||||
pub struct DropTraitConstraintsDiag<'a> {
|
||||
pub predicate: Predicate<'a>,
|
||||
pub tcx: TyCtxt<'a>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue