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