summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-4972.stderr
blob: 8de3909ca305ef1301a9ee757d33b07d8242a181 (plain)
1
2
3
4
5
6
7
8
9
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 1 previous error

For more information about this error, try `rustc --explain E0033`.