Skip to content

Commit 3e35f49

Browse files
Bless the outputs
1 parent 7a9e443 commit 3e35f49

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

tests/ui/duplicate-label-E0381-issue-129274.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
error[E0381]: used binding `blah` is possibly-uninitialized
2-
--> $DIR/issue-129274.rs:9:33
2+
--> $DIR/duplicate-label-E0381-issue-129274.rs:8:33
33
|
4-
LL | let blah: Option<String>;
4+
LL | let blah: Option<String>;
55
| ---- binding declared here but left uninitialized
66
LL | if true {
77
LL | blah = Some("".to_string());
88
| ---- binding initialized here in some conditions
9-
...
9+
LL | }
1010
LL | if let Some(blah) = blah.as_ref() {
1111
| ^^^^ `blah` used here but it is possibly-uninitialized
1212

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ADDED: $DIR/duplicate-label-E0381-issue-129274.rs:6:17: 6:21 (#0)
2+
ADDED: $DIR/duplicate-label-E0381-issue-129274.rs:6:17: 6:21 (#0)
3+
span $DIR/duplicate-label-E0381-issue-129274.rs:6:17: 6:21 (#0)
4+
span true
5+
COMP: $DIR/duplicate-label-E0381-issue-129274.rs:8:33: 8:37 (#0)
6+
COMP: true

0 commit comments

Comments
 (0)