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

@ -1,4 +1,4 @@
warning: constant evaluation error: attempt to subtract with overflow. This will become a HARD ERROR in the future
warning: constant evaluation error: attempt to subtract with overflow
--> $DIR/issue-43197.rs:18:20
|
18 | const X: u32 = 0-1;
@ -6,7 +6,7 @@ warning: constant evaluation error: attempt to subtract with overflow. This will
|
= note: #[warn(const_err)] on by default
warning: constant evaluation error: attempt to subtract with overflow. This will become a HARD ERROR in the future
warning: constant evaluation error: attempt to subtract with overflow
--> $DIR/issue-43197.rs:19:20
|
19 | const Y: u32 = foo(0-1);