add lint to lintarray macro

This commit is contained in:
Maxwell Anderson 2018-10-31 16:48:24 -06:00
parent 6b895b8267
commit f4b919cad7

View File

@ -342,7 +342,12 @@ pub struct LiteralDigitGrouping;
impl LintPass for LiteralDigitGrouping {
fn get_lints(&self) -> LintArray {
lint_array!(UNREADABLE_LITERAL, INCONSISTENT_DIGIT_GROUPING, LARGE_DIGIT_GROUPS)
lint_array!(
UNREADABLE_LITERAL,
INCONSISTENT_DIGIT_GROUPING,
LARGE_DIGIT_GROUPS,
MISTYPED_LITERAL_SUFFIXES,
)
}
}