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