This commit is contained in:
parent
e3270c6f47
commit
e9e0a7e3bd
129 changed files with 588 additions and 4 deletions
|
@ -346,6 +346,10 @@ impl LintPass for LiteralDigitGrouping {
|
|||
MISTYPED_LITERAL_SUFFIXES,
|
||||
)
|
||||
}
|
||||
|
||||
fn name(&self) -> &'static str {
|
||||
"LiteralDigitGrouping"
|
||||
}
|
||||
}
|
||||
|
||||
impl EarlyLintPass for LiteralDigitGrouping {
|
||||
|
@ -493,6 +497,10 @@ impl LintPass for LiteralRepresentation {
|
|||
fn get_lints(&self) -> LintArray {
|
||||
lint_array!(DECIMAL_LITERAL_REPRESENTATION)
|
||||
}
|
||||
|
||||
fn name(&self) -> &'static str {
|
||||
"DecimalLiteralRepresentation"
|
||||
}
|
||||
}
|
||||
|
||||
impl EarlyLintPass for LiteralRepresentation {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue