update the lint messages and tests

This commit is contained in:
Matthias Krüger
2021-02-24 14:02:51 +01:00
parent 5370576882
commit 8eb2bd13d0
54 changed files with 315 additions and 315 deletions

View File

@@ -39,7 +39,7 @@ impl<'tcx> LateLintPass<'tcx> for IntegerDivision {
expr.span,
"integer division",
None,
"division of integers may cause loss of precision. consider using floats.",
"division of integers may cause loss of precision. consider using floats",
);
}
}