]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/suggest-semicolon-before-array.stderr
Auto merge of #101030 - woppopo:const_location, r=scottmcm
[rust.git] / src / test / ui / parser / suggest-semicolon-before-array.stderr
1 error: expected `;`, found `[`
2   --> $DIR/suggest-semicolon-before-array.rs:8:5
3    |
4 LL |     [1, 3]
5    |     ^
6    |
7 help: consider adding `;` here
8    |
9 LL |     foo();
10    |          +
11
12 error: aborting due to previous error
13