Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
parser
/
keyword-box-as-identifier.rs
blob: 2cf49b66be61c241c885e1dbece70c807f6c02fc [
file
] [
log
] [
blame
]
fn
main
()
{
let
box
=
0
;
//~^ ERROR expected pattern, found `=`
let
box
:
bool
;
//~^ ERROR expected pattern, found `:`
let
mut
box
=
0
;
//~^ ERROR expected pattern, found `=`
let
(
box
,)
=
(
0
,);
//~^ ERROR expected pattern, found `,`
}