rename pat2015 to pat_param
This commit is contained in:
parent
ebc4acee91
commit
0566ccc72f
10 changed files with 35 additions and 33 deletions
|
@ -710,7 +710,7 @@ pub trait LintContext: Sized {
|
|||
db.note(¬e);
|
||||
}
|
||||
BuiltinLintDiagnostics::OrPatternsBackCompat(span,suggestion) => {
|
||||
db.span_suggestion(span, "use pat2015 to preserve semantics", suggestion, Applicability::MachineApplicable);
|
||||
db.span_suggestion(span, "use pat_param to preserve semantics", suggestion, Applicability::MachineApplicable);
|
||||
}
|
||||
}
|
||||
// Rewrap `db`, and pass control to the user.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue