Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
rfc-0107-bind-by-move-pattern-guards
/
former-E0008-now-pass.rs
blob: 3161d6fbbe647c55fd74534713f369bf58b99625 [
file
] [
log
] [
blame
]
// This test used to emit E0008 but now passed since `bind_by_move_pattern_guards`
// have been stabilized.
// check-pass
fn
main
()
{
match
Some
(
"hi"
.
to_string
())
{
Some
(
s
)
if
s
.
len
()
==
0
=>
{},
_
=>
{},
}
}