summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/pattern-bad-ref-box-order.stderr
blob: a49f05c1028d8b17d962b45e86b1abd54e610a57 (plain)
1
2
3
4
5
6
7
8
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: `box ref`

error: aborting due to 1 previous error