]> git.proxmox.com Git - rustc.git/blob - src/test/ui/mismatched_types/method-help-unsatisfied-bound.stderr
New upstream version 1.42.0+dfsg1
[rustc.git] / src / test / ui / mismatched_types / method-help-unsatisfied-bound.stderr
1 error[E0599]: no method named `unwrap` found for enum `std::result::Result<(), Foo>` in the current scope
2 --> $DIR/method-help-unsatisfied-bound.rs:5:7
3 |
4 LL | a.unwrap();
5 | ^^^^^^ method not found in `std::result::Result<(), Foo>`
6 |
7 = note: the method `unwrap` exists but the following trait bounds were not satisfied:
8 `Foo : std::fmt::Debug`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0599`.