]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/label/label_misspelled_2.stderr
Bless tests.
[rust.git] / src / test / ui / label / label_misspelled_2.stderr
index 960646d9894d1158774e6d5369ecd7e350e24c38..b618690340bb278bd8c7c5ef9ba9762ed4f0f6c7 100644 (file)
@@ -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