Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
794181788d94b7bc9e4717b97313f525054c4710
/
.
/
src
/
test
/
ui
/
parser
/
pat-lt-bracket-6.rs
blob: 7becffa9fe2f7afd50fa2895b74b5bb367c2ac68 [
file
] [
log
] [
blame
]
fn
main
()
{
struct
Test
(&
'
static
u8
,
[
u8
;
0
]);
let
x
=
Test
(&
0
,
[]);
let
Test
(&
desc
[..])
=
x
;
//~^ ERROR: expected one of `)`, `,`, `@`, or `|`, found `[`
}
const
RECOVERY_WITNESS
:
()
=
0
;
//~ ERROR mismatched types