Sign in
rust
/
rust
/
93cd4f8a0494700a59fb499289ece76b9ff89e51
/
.
/
tests
/
ui
/
or-patterns
/
while-parsing-this-or-pattern.rs
blob: b034a52ac9451b00d713279caaf18db1d6cee23b [
file
]
// Test the parser for the "while parsing this or-pattern..." label here.
fn
main
()
{
match
Some
(
42
)
{
Some
(
42
)
|
.=.
=>
{}
//~ ERROR expected pattern, found `.`
//~^ NOTE while parsing this or-pattern starting here
//~| NOTE expected pattern
}
}