Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
parser
/
pat-lt-bracket-7.rs
blob: 327aef5ad15703cd16770ccdcd00dd8803c5e0ea [
file
] [
log
] [
blame
]
fn
main
()
{
struct
Thing
(
u8
,
[
u8
;
0
]);
let
foo
=
core
::
iter
::
empty
();
for
Thing
(
x
[])
in foo
{}
//~^ ERROR: expected one of `)`, `,`, `@`, or `|`, found `[`
}
const
RECOVERY_WITNESS
:
()
=
0
;
//~ ERROR mismatched types