1 error[E0033]: type `Box<(dyn MyTrait + 'static)>` cannot be dereferenced
2 --> $DIR/issue-4972.rs:14:25
4 LL | TraitWrapper::A(box ref map) => map,
5 | ^^^^^^^^^^^ type `Box<(dyn MyTrait + 'static)>` cannot be dereferenced
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0033`.