Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
or-patterns
/
while-parsing-this-or-pattern.rs
blob: b9bfb8638b2ced82bf80059fb5af73be8336ed75 [
file
] [
log
] [
blame
]
// Test the parser for the "while parsing this or-pattern..." label here.
fn
main
()
{
match
Some
(
42
)
{
Some
(
42
)
|
.=.
=>
{}
//~ ERROR expected pattern, found `.`
//~^ while parsing this or-pattern starting here
//~| NOTE expected pattern
}
}