summary refs log tree commit diff
path: root/src/test/ui/issues/issue-4972.stderr
blob: 30664c90ce81158d319ffeefbe78e8e8ec47d24c (plain)
1
2
3
4
5
6
7
8
9
error[E0033]: type `std::boxed::Box<(dyn MyTrait + 'static)>` cannot be dereferenced
  --> $DIR/issue-4972.rs:14:25
   |
LL |         TraitWrapper::A(box ref map) => map, //~ ERROR cannot be dereferenced
   |                         ^^^^^^^^^^^ type `std::boxed::Box<(dyn MyTrait + 'static)>` cannot be dereferenced

error: aborting due to previous error

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