]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/method-help-unsatisfied-bound.stderr
Rollup merge of #105694 - ouz-a:issue_105689, r=estebank
[rust.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:7
3    |
4 LL |     a.unwrap();
5    |       ^^^^^^ `Foo` cannot be formatted using `{:?}`
6    |
7    = help: the trait `Debug` is not implemented for `Foo`
8    = note: add `#[derive(Debug)]` to `Foo` or manually `impl Debug for Foo`
9 note: required by a bound in `Result::<T, E>::unwrap`
10   --> $SRC_DIR/core/src/result.rs:LL:COL
11 help: consider annotating `Foo` with `#[derive(Debug)]`
12    |
13 LL | #[derive(Debug)]
14    |
15
16 error: aborting due to previous error
17
18 For more information about this error, try `rustc --explain E0277`.