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
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue