]>
Commit | Line | Data |
---|---|---|
5869c6ff | 1 | error[E0599]: the method `unwrap` exists for enum `std::result::Result<(), Foo>`, but its trait bounds were not satisfied |
0731742a | 2 | --> $DIR/method-help-unsatisfied-bound.rs:5:7 |
7cac9316 | 3 | | |
74b04a01 | 4 | LL | struct Foo; |
1b1a35ee | 5 | | ----------- doesn't satisfy `Foo: Debug` |
74b04a01 | 6 | ... |
0531ce1d | 7 | LL | a.unwrap(); |
5869c6ff | 8 | | ^^^^^^ method cannot be called on `std::result::Result<(), Foo>` due to unsatisfied trait bounds |
7cac9316 | 9 | | |
5869c6ff | 10 | = note: the following trait bounds were not satisfied: |
1b1a35ee | 11 | `Foo: Debug` |
7cac9316 | 12 | |
041b39d2 | 13 | error: aborting due to previous error |
7cac9316 | 14 | |
0531ce1d | 15 | For more information about this error, try `rustc --explain E0599`. |