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