add lint to lintarray macro
This commit is contained in:
parent
6b895b8267
commit
f4b919cad7
1 changed files with 6 additions and 1 deletions
|
@ -342,7 +342,12 @@ pub struct LiteralDigitGrouping;
|
||||||
|
|
||||||
impl LintPass for LiteralDigitGrouping {
|
impl LintPass for LiteralDigitGrouping {
|
||||||
fn get_lints(&self) -> LintArray {
|
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,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue