1
Fork 0

add OR_PATTERNS_BACK_COMPAT lint

test: add more cases

test: add comments

refine msg
This commit is contained in:
hi-rustin 2021-03-25 21:42:21 +08:00
parent 803ddb8359
commit 2c66e15468
7 changed files with 162 additions and 3 deletions

View file

@ -267,6 +267,7 @@ pub enum BuiltinLintDiagnostics {
LegacyDeriveHelpers(Span),
ExternDepSpec(String, ExternDepSpec),
ProcMacroBackCompat(String),
OrPatternsBackCompat(Span, String),
}
/// Lints that are buffered up early on in the `Session` before the