]>
Commit | Line | Data |
---|---|---|
c295e0f8 XL |
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`. |