]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-4972.stderr
Rollup merge of #60492 - acrrd:issues/54054_chain, r=SimonSapin
[rust.git] / src / test / ui / issues / issue-4972.stderr
1 error[E0033]: type `std::boxed::Box<(dyn MyTrait + 'static)>` cannot be dereferenced
2   --> $DIR/issue-4972.rs:14:25
3    |
4 LL |         TraitWrapper::A(box ref map) => map,
5    |                         ^^^^^^^^^^^ type `std::boxed::Box<(dyn MyTrait + 'static)>` cannot be dereferenced
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0033`.