X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Flabel%2Flabel_misspelled_2.stderr;h=b618690340bb278bd8c7c5ef9ba9762ed4f0f6c7;hb=85cbd0bc185c4b9b36162a638c9ec3915df265b2;hp=960646d9894d1158774e6d5369ecd7e350e24c38;hpb=6e1b0105c60cfca15930a6fdf8a3b07db528c749;p=rust.git diff --git a/src/test/ui/label/label_misspelled_2.stderr b/src/test/ui/label/label_misspelled_2.stderr index 960646d9894..b618690340b 100644 --- a/src/test/ui/label/label_misspelled_2.stderr +++ b/src/test/ui/label/label_misspelled_2.stderr @@ -14,23 +14,41 @@ error[E0425]: cannot find value `b` in this scope --> $DIR/label_misspelled_2.rs:8:15 | LL | 'b: for _ in 0..1 { - | -- a label with a similar name exists + | -- + | | + | a label with a similar name exists + | a label with a similar name exists LL | break b; - | ^ - | | - | not found in this scope - | help: use the similarly named label: `'b` + | ^ not found in this scope + | +help: use the similarly named label + | +LL | break 'b; + | ~~ +help: use the similarly named label + | +LL | break 'b; + | ~~ error[E0425]: cannot find value `d` in this scope --> $DIR/label_misspelled_2.rs:14:15 | LL | d: for _ in 0..1 { - | - a label with a similar name exists + | - + | | + | a label with a similar name exists + | a label with a similar name exists LL | break d; - | ^ - | | - | not found in this scope - | help: use the similarly named label: `'d` + | ^ not found in this scope + | +help: use the similarly named label + | +LL | break 'd; + | ~~ +help: use the similarly named label + | +LL | break 'd; + | ~~ error: aborting due to 4 previous errors