Skip to content

Commit f4b919c

Browse files
committed
add lint to lintarray macro
1 parent 6b895b8 commit f4b919c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

clippy_lints/src/literal_representation.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,12 @@ pub struct LiteralDigitGrouping;
342342

343343
impl LintPass for LiteralDigitGrouping {
344344
fn get_lints(&self) -> LintArray {
345-
lint_array!(UNREADABLE_LITERAL, INCONSISTENT_DIGIT_GROUPING, LARGE_DIGIT_GROUPS)
345+
lint_array!(
346+
UNREADABLE_LITERAL,
347+
INCONSISTENT_DIGIT_GROUPING,
348+
LARGE_DIGIT_GROUPS,
349+
MISTYPED_LITERAL_SUFFIXES,
350+
)
346351
}
347352
}
348353

0 commit comments

Comments
 (0)