Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
794181788d94b7bc9e4717b97313f525054c4710
/
.
/
src
/
test
/
ui
/
error-codes
/
E0007.rs
blob: 022ac5fc113ddbf6a631ed1529ea1b4543a53924 [
file
] [
log
] [
blame
]
#![
feature
(
bindings_after_at
)]
fn
main
()
{
let
x
=
Some
(
"s"
.
to_string
());
match
x
{
op_string
@
Some
(
s
)
=>
{},
//~^ ERROR E0007
//~| ERROR E0382
None
=>
{},
}
}