about summary refs log tree commit diff
path: root/tests/ui/loops
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-04-15 21:36:52 -0400
committerMichael Goulet <michael@errs.io>2024-04-15 21:36:52 -0400
commit8a981b6fee5bb52af9311bd317dd8a01ec60dd83 (patch)
tree366ee28c5227c4230c9089d0b920440da46fe5f0 /tests/ui/loops
parentccfcd950b333fed046275dd8d54fe736ca498aa7 (diff)
downloadrust-8a981b6fee5bb52af9311bd317dd8a01ec60dd83.tar.gz
rust-8a981b6fee5bb52af9311bd317dd8a01ec60dd83.zip
Use /* value */ as a placeholder
Diffstat (limited to 'tests/ui/loops')
-rw-r--r--tests/ui/loops/loop-break-value.stderr20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/ui/loops/loop-break-value.stderr b/tests/ui/loops/loop-break-value.stderr
index 0093182422e..0912bdbb221 100644
--- a/tests/ui/loops/loop-break-value.stderr
+++ b/tests/ui/loops/loop-break-value.stderr
@@ -246,8 +246,8 @@ LL |         break;
    |
 help: give the `break` a value of the expected type
    |
-LL |         break value;
-   |               +++++
+LL |         break /* value */;
+   |               +++++++++++
 
 error[E0308]: mismatched types
   --> $DIR/loop-break-value.rs:112:9
@@ -260,8 +260,8 @@ LL |         break;
    |
 help: give the `break` a value of the expected type
    |
-LL |         break value;
-   |               +++++
+LL |         break /* value */;
+   |               +++++++++++
 
 error[E0308]: mismatched types
   --> $DIR/loop-break-value.rs:124:9
@@ -274,8 +274,8 @@ LL |         break 'a;
    |
 help: give the `break` a value of the expected type
    |
-LL |         break 'a value;
-   |                  +++++
+LL |         break 'a /* value */;
+   |                  +++++++++++
 
 error[E0308]: mismatched types
   --> $DIR/loop-break-value.rs:135:15
@@ -297,8 +297,8 @@ LL |                 break 'a;
    |
 help: give the `break` a value of the expected type
    |
-LL |                 break 'a value;
-   |                          +++++
+LL |                 break 'a /* value */;
+   |                          +++++++++++
 
 error[E0308]: mismatched types
   --> $DIR/loop-break-value.rs:147:15
@@ -320,8 +320,8 @@ LL |                 break 'a;
    |
 help: give the `break` a value of the expected type
    |
-LL |                 break 'a value;
-   |                          +++++
+LL |                 break 'a /* value */;
+   |                          +++++++++++
 
 error[E0308]: mismatched types
   --> $DIR/loop-break-value.rs:159:15