| error: mix of deref patterns and normal constructors | |
| --> $DIR/deref-pattern-box-constructor-mismatch.rs:9:9 | |
| | | |
| LL | deref!(_) => {} | |
| | ^^^^^^^^^ matches on the result of dereferencing `Box<i32>` | |
| LL | Box { .. } => {} | |
| | ^^^^^^^^^^ matches directly on `Box<i32>` | |
| error: aborting due to 1 previous error | |