fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0615]: attempted to take value of method `get` on type `std::boxed::Box<(dyn ResponseHook + 'static)>` 2 --> $DIR/issue-13853-2.rs:5:43 3 | 4LL | fn foo(res : Box<dyn ResponseHook>) { res.get } 5 | ^^^ method, not a field 6 | 7help: use parentheses to call the method 8 | 9LL | fn foo(res : Box<dyn ResponseHook>) { res.get() } 10 | ^^ 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0615`.