2020-09-02 02:40:56 -05:00
|
|
|
error[E0033]: type `Box<(dyn MyTrait + 'static)>` cannot be dereferenced
|
2022-07-06 21:36:10 -05:00
|
|
|
--> $DIR/issue-4972.rs:13:25
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | TraitWrapper::A(box ref map) => map,
|
2020-09-02 02:40:56 -05:00
|
|
|
| ^^^^^^^^^^^ type `Box<(dyn MyTrait + 'static)>` cannot be dereferenced
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0033`.
|