Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
src
/
test
/
ui
/
or-patterns
/
fn-param-wrap-parens.stderr
blob: 2c6e4d9838ddcf9387a9971ddb6cee44e10031e5 [
file
] [
log
] [
blame
]
error
:
an
or
-
pattern parameter must be wrapped
in
parenthesis
-->
$DIR
/
fn
-
param
-
wrap
-
parens
.
rs
:
14
:
9
|
LL
|
fn fun1
(
A
|
B
:
E
)
{}
|
^^^^^
help
:
wrap the pattern
in
parenthesis
:
`(A | B)`
error
:
aborting due to previous error