This commit is contained in:
parent
e3270c6f47
commit
e9e0a7e3bd
129 changed files with 588 additions and 4 deletions
|
@ -28,6 +28,10 @@ impl LintPass for Pass {
|
|||
fn get_lints(&self) -> LintArray {
|
||||
lint_array!(ZERO_DIVIDED_BY_ZERO)
|
||||
}
|
||||
|
||||
fn name(&self) -> &'static str {
|
||||
"ZeroDiv"
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, 'tcx> LateLintPass<'a, 'tcx> for Pass {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue