]> git.proxmox.com Git - rustc.git/blame - 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
CommitLineData
a2a8927a 1error[E0277]: `Foo` doesn't implement `Debug`
f2b60f7d 2 --> $DIR/method-help-unsatisfied-bound.rs:5:5
7cac9316 3 |
0531ce1d 4LL | a.unwrap();
f2b60f7d
FG
5 | ^ ------ required by a bound introduced by this call
6 | |
7 | `Foo` cannot be formatted using `{:?}`
7cac9316 8 |
a2a8927a
XL
9 = help: the trait `Debug` is not implemented for `Foo`
10 = note: add `#[derive(Debug)]` to `Foo` or manually `impl Debug for Foo`
11note: required by a bound in `Result::<T, E>::unwrap`
12 --> $SRC_DIR/core/src/result.rs:LL:COL
c295e0f8 13 |
a2a8927a
XL
14LL | E: fmt::Debug,
15 | ^^^^^^^^^^ required by this bound in `Result::<T, E>::unwrap`
04454e1e
FG
16help: consider annotating `Foo` with `#[derive(Debug)]`
17 |
18LL | #[derive(Debug)]
19 |
7cac9316 20
041b39d2 21error: aborting due to previous error
7cac9316 22
a2a8927a 23For more information about this error, try `rustc --explain E0277`.