Add several lints into unused lint group
Remove a couple of obsolete lints
This commit is contained in:
parent
690ff04594
commit
bf0cdb52f2
22 changed files with 53 additions and 55 deletions
|
|
@ -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()));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue