]> git.lizzy.rs Git - rust.git/blob - tests/ui/mismatched_types/method-help-unsatisfied-bound.stderr
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / 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`.