blob: 6f47f704688baf58c41c28c69cd1a98161e945a6 [file] [log] [blame]
error: switch the order of `ref` and `box`
--> $DIR/pattern-bad-ref-box-order.rs:8:14
|
LL | Some(ref box _i) => {},
| ^^^^^^^
|
help: swap them
|
LL - Some(ref box _i) => {},
LL + Some(box ref _i) => {},
|
error: aborting due to 1 previous error