Skip to content

Commit 4cf5702

Browse files
committed
Fix stderr files
1 parent 54026c1 commit 4cf5702

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/test/ui/liveness/liveness-dead.stderr

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
error: value assigned to `x` is never read
2+
(maybe it is overwritten before being read)
23
--> $DIR/liveness-dead.rs:19:13
34
|
45
LL | let mut x: isize = 3; //~ ERROR: value assigned to `x` is never read
@@ -11,18 +12,21 @@ LL | #![deny(unused_assignments)]
1112
| ^^^^^^^^^^^^^^^^^^
1213

1314
error: value assigned to `x` is never read
15+
(maybe it is overwritten before being read)
1416
--> $DIR/liveness-dead.rs:27:5
1517
|
1618
LL | x = 4; //~ ERROR: value assigned to `x` is never read
1719
| ^
1820

1921
error: value passed to `x` is never read
22+
(maybe it is overwritten before being read)
2023
--> $DIR/liveness-dead.rs:30:11
2124
|
2225
LL | fn f4(mut x: i32) { //~ ERROR: value passed to `x` is never read
2326
| ^
2427

2528
error: value assigned to `x` is never read
29+
(maybe it is overwritten before being read)
2630
--> $DIR/liveness-dead.rs:37:5
2731
|
2832
LL | x = 4; //~ ERROR: value assigned to `x` is never read

src/test/ui/liveness/liveness-unused.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ LL | let mut x = 3;
5050
= note: consider using `_x` instead
5151

5252
error: value assigned to `x` is never read
53+
(maybe it is overwritten before being read)
5354
--> $DIR/liveness-unused.rs:42:5
5455
|
5556
LL | x += 4;
@@ -102,6 +103,7 @@ LL | let x;
102103
= note: consider using `_x` instead
103104

104105
error: value assigned to `x` is never read
106+
(maybe it is overwritten before being read)
105107
--> $DIR/liveness-unused.rs:126:9
106108
|
107109
LL | x = 0; //~ ERROR value assigned to `x` is never read

0 commit comments

Comments
 (0)