Fix stderr files
This commit is contained in:
parent
54026c14cf
commit
4cf5702d52
2 changed files with 6 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
error: value assigned to `x` is never read
|
||||
(maybe it is overwritten before being read)
|
||||
--> $DIR/liveness-dead.rs:19:13
|
||||
|
|
||||
LL | let mut x: isize = 3; //~ ERROR: value assigned to `x` is never read
|
||||
|
|
@ -11,18 +12,21 @@ LL | #![deny(unused_assignments)]
|
|||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: value assigned to `x` is never read
|
||||
(maybe it is overwritten before being read)
|
||||
--> $DIR/liveness-dead.rs:27:5
|
||||
|
|
||||
LL | x = 4; //~ ERROR: value assigned to `x` is never read
|
||||
| ^
|
||||
|
||||
error: value passed to `x` is never read
|
||||
(maybe it is overwritten before being read)
|
||||
--> $DIR/liveness-dead.rs:30:11
|
||||
|
|
||||
LL | fn f4(mut x: i32) { //~ ERROR: value passed to `x` is never read
|
||||
| ^
|
||||
|
||||
error: value assigned to `x` is never read
|
||||
(maybe it is overwritten before being read)
|
||||
--> $DIR/liveness-dead.rs:37:5
|
||||
|
|
||||
LL | x = 4; //~ ERROR: value assigned to `x` is never read
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ LL | let mut x = 3;
|
|||
= note: consider using `_x` instead
|
||||
|
||||
error: value assigned to `x` is never read
|
||||
(maybe it is overwritten before being read)
|
||||
--> $DIR/liveness-unused.rs:42:5
|
||||
|
|
||||
LL | x += 4;
|
||||
|
|
@ -102,6 +103,7 @@ LL | let x;
|
|||
= note: consider using `_x` instead
|
||||
|
||||
error: value assigned to `x` is never read
|
||||
(maybe it is overwritten before being read)
|
||||
--> $DIR/liveness-unused.rs:126:9
|
||||
|
|
||||
LL | x = 0; //~ ERROR value assigned to `x` is never read
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue