Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
parser
/
regions-out-of-scope-slice.rs
blob: 21369d0be61b1f20badd9dbb1877ce9b40a84160 [
file
] [
log
] [
blame
]
// This basically tests the parser's recovery on `'blk` in the wrong place.
fn
foo
(
cond
:
bool
)
{
let
mut
x
;
if
cond
{
x
=
&
'
blk
[
1
,
2
,
3
];
//~ ERROR expected `:`, found `[`
}
}
fn
main
()
{}