]>
Commit | Line | Data |
---|---|---|
a2a8927a | 1 | error[E0277]: `Foo` doesn't implement `Debug` |
f2b60f7d | 2 | --> $DIR/method-help-unsatisfied-bound.rs:5:5 |
7cac9316 | 3 | | |
0531ce1d | 4 | LL | 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` | |
11 | note: required by a bound in `Result::<T, E>::unwrap` | |
12 | --> $SRC_DIR/core/src/result.rs:LL:COL | |
c295e0f8 | 13 | | |
a2a8927a XL |
14 | LL | E: fmt::Debug, |
15 | | ^^^^^^^^^^ required by this bound in `Result::<T, E>::unwrap` | |
04454e1e FG |
16 | help: consider annotating `Foo` with `#[derive(Debug)]` |
17 | | | |
18 | LL | #[derive(Debug)] | |
19 | | | |
7cac9316 | 20 | |
041b39d2 | 21 | error: aborting due to previous error |
7cac9316 | 22 | |
a2a8927a | 23 | For more information about this error, try `rustc --explain E0277`. |