]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/pat-lt-bracket-7.stderr
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / pat-lt-bracket-7.stderr
index aa115659d47a4cc67123a7faff4e81c1768616e5..004dcfb2a7b2d0a9ce63225583cf611a968d4ecf 100644 (file)
@@ -2,7 +2,10 @@ error: expected one of `)`, `,`, `@`, or `|`, found `[`
   --> $DIR/pat-lt-bracket-7.rs:5:16
    |
 LL |     for Thing(x[]) in foo {}
-   |                ^ expected one of `)`, `,`, `@`, or `|`
+   |                ^
+   |                |
+   |                expected one of `)`, `,`, `@`, or `|`
+   |                help: missing `,`
 
 error[E0308]: mismatched types
   --> $DIR/pat-lt-bracket-7.rs:9:30