]> git.proxmox.com Git - rustc.git/blob - src/test/ui/mismatched_types/method-help-unsatisfied-bound.stderr
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / ui / mismatched_types / method-help-unsatisfied-bound.stderr
1 error[E0277]: `Foo` doesn't implement `Debug`
2 --> $DIR/method-help-unsatisfied-bound.rs:5:5
3 |
4 LL | a.unwrap();
5 | ^ ------ required by a bound introduced by this call
6 | |
7 | `Foo` cannot be formatted using `{:?}`
8 |
9 = help: the trait `Debug` is not implemented for `Foo`
10 = note: add `#[derive(Debug)]` to `Foo` or manually `impl Debug for Foo`
11 note: required by a bound in `Result::<T, E>::unwrap`
12 --> $SRC_DIR/core/src/result.rs:LL:COL
13 |
14 LL | E: fmt::Debug,
15 | ^^^^^^^^^^ required by this bound in `Result::<T, E>::unwrap`
16 help: consider annotating `Foo` with `#[derive(Debug)]`
17 |
18 LL | #[derive(Debug)]
19 |
20
21 error: aborting due to previous error
22
23 For more information about this error, try `rustc --explain E0277`.