rust/tests/ui/issues/issue-4972.stderr
2023-01-11 09:32:08 +00:00

10 lines
367 B
Plaintext

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