Add several lints into unused lint group

Remove a couple of obsolete lints
This commit is contained in:
Vadim Petrochenkov 2017-10-21 00:00:57 +03:00
parent 690ff04594
commit bf0cdb52f2
22 changed files with 53 additions and 55 deletions

View file

@ -140,8 +140,7 @@ impl<'a, 'gcx> CheckCrateVisitor<'a, 'gcx> {
self.tcx.lint_node(CONST_ERR,
expr.id,
expr.span,
&format!("constant evaluation error: {}. This will \
become a HARD ERROR in the future",
&format!("constant evaluation error: {}",
err.description().into_oneline()));
}
}