]> git.proxmox.com Git - rustc.git/blob - src/test/ui/typeck/issue-13853-2.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / typeck / issue-13853-2.stderr
1 error[E0615]: attempted to take value of method `get` on type `Box<(dyn ResponseHook + 'static)>`
2 --> $DIR/issue-13853-2.rs:5:43
3 |
4 LL | fn foo(res : Box<dyn ResponseHook>) { res.get }
5 | ^^^ method, not a field
6 |
7 help: use parentheses to call the method
8 |
9 LL | fn foo(res : Box<dyn ResponseHook>) { res.get() }
10 | ++
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0615`.