1
Fork 0
This commit is contained in:
Matthias Krüger 2019-01-26 20:40:55 +01:00
parent e3270c6f47
commit e9e0a7e3bd
129 changed files with 588 additions and 4 deletions

View file

@ -28,6 +28,10 @@ impl LintPass for OverflowCheckConditional {
fn get_lints(&self) -> LintArray {
lint_array!(OVERFLOW_CHECK_CONDITIONAL)
}
fn name(&self) -> &'static str {
"OverflowCheckConditional"
}
}
impl<'a, 'tcx> LateLintPass<'a, 'tcx> for OverflowCheckConditional {