Merge pull request #2203 from clippered/float_cmp_const

Fix #1142 float constant comparison lint
This commit is contained in:
Oliver Schneider
2017-11-20 09:51:12 +01:00
committed by GitHub
4 changed files with 169 additions and 2 deletions

View File

@@ -367,6 +367,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
arithmetic::INTEGER_ARITHMETIC,
array_indexing::INDEXING_SLICING,
assign_ops::ASSIGN_OPS,
misc::FLOAT_CMP_CONST,
]);
reg.register_lint_group("clippy_pedantic", vec![