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