blob: 9721dc8ba4e6ced63bdf631c2740b78bf8e8ce9e [file] [log] [blame]
error[E0599]: no method named `unwrap` found for type `std::result::Result<(), Foo>` in the current scope
--> $DIR/method-help-unsatisfied-bound.rs:5:7
|
LL | a.unwrap();
| ^^^^^^
|
= note: the method `unwrap` exists but the following trait bounds were not satisfied:
`Foo : std::fmt::Debug`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.