blob: c15290fb1d95791749f9b00f21ee8cf0cd66026e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0615]: attempted to take value of method `get` on type `std::boxed::Box<(dyn ResponseHook + 'static)>`
--> $DIR/issue-13853-2.rs:15:39
|
LL | fn foo(res : Box<ResponseHook>) { res.get } //~ ERROR attempted to take value of method
| ^^^
|
= help: maybe a `()` to call it is missing?
error: aborting due to previous error
For more information about this error, try `rustc --explain E0615`.
|