rust/tests/ui/parser/pat-lt-bracket-6.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
569 B
Plaintext
Raw Normal View History

error: expected one of `)`, `,`, `@`, or `|`, found `[`
2019-07-24 00:30:37 +00:00
--> $DIR/pat-lt-bracket-6.rs:5:19
2018-10-20 20:36:17 +00:00
|
2019-03-09 12:03:44 +00:00
LL | let Test(&desc[..]) = x;
| ^
| |
| expected one of `)`, `,`, `@`, or `|`
| help: missing `,`
2018-10-20 20:36:17 +00:00
2019-07-24 00:30:37 +00:00
error[E0308]: mismatched types
2019-12-30 00:23:42 +00:00
--> $DIR/pat-lt-bracket-6.rs:9:30
2019-07-24 00:30:37 +00:00
|
LL | const RECOVERY_WITNESS: () = 0;
| ^ expected `()`, found integer
2019-07-24 00:30:37 +00:00
2019-12-30 00:23:42 +00:00
error: aborting due to 2 previous errors
2018-10-20 20:36:17 +00:00
2019-12-30 00:23:42 +00:00
For more information about this error, try `rustc --explain E0308`.