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