1
Fork 0

add suggest for PatternsInWithoutBody

This commit is contained in:
Daiki Ihara 2020-11-30 23:24:08 +09:00
parent 463ce40428
commit acbebd81d4
3 changed files with 21 additions and 8 deletions

View file

@ -253,6 +253,7 @@ pub enum BuiltinLintDiagnostics {
RedundantImport(Vec<(Span, bool)>, Ident),
DeprecatedMacro(Option<Symbol>, Span),
UnusedDocComment(Span),
PatternsInFnsWithoutBody(Span, Ident),
}
/// Lints that are buffered up early on in the `Session` before the