diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2017-10-21 00:00:57 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2017-10-29 22:14:23 +0300 |
| commit | bf0cdb52f22df2eb6a510806fa32b05ab326a93e (patch) | |
| tree | 5012f67e5c6015e0b6d8db87ac257a6157aa95f9 /src/test/ui/const-eval | |
| parent | 690ff045949ac3f3c5bd341e1584f90bc49f0596 (diff) | |
Add several lints into `unused` lint group
Remove a couple of obsolete lints
Diffstat (limited to 'src/test/ui/const-eval')
| -rw-r--r-- | src/test/ui/const-eval/issue-43197.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/const-eval/issue-43197.stderr b/src/test/ui/const-eval/issue-43197.stderr index 5ff80060eac..58dedcfd9b1 100644 --- a/src/test/ui/const-eval/issue-43197.stderr +++ b/src/test/ui/const-eval/issue-43197.stderr @@ -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); |
