]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/issue-88803-call-expr-method.stderr
Rollup merge of #100862 - ehuss:tidy-crossbeam, r=Mark-Simulacrum
[rust.git] / src / test / ui / typeck / issue-88803-call-expr-method.stderr
1 error[E0615]: attempted to take value of method `unwrap` on type `Option<{integer}>`
2   --> $DIR/issue-88803-call-expr-method.rs:7:12
3    |
4 LL |         (a.unwrap)()
5    |            ^^^^^^ method, not a field
6    |
7 help: remove wrapping parentheses to call the method
8    |
9 LL -         (a.unwrap)()
10 LL +         a.unwrap()
11    |
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0615`.