error[E0277]: `NoDebugImpl` doesn't implement `Debug`
--> tests/fail/no_debug.rs:6:25
|
6 | one_assert::assert!(x == NoDebugImpl(2));
| ^ `NoDebugImpl` cannot be formatted using `{:?}` because it doesn't implement `Debug`
|
= help: the trait `Debug` is not implemented for `NoDebugImpl`
= note: add `#[derive(Debug)]` to `NoDebugImpl` or manually `impl Debug for NoDebugImpl`
help: consider annotating `NoDebugImpl` with `#[derive(Debug)]`
|
3 + #[derive(Debug)]
4 | struct NoDebugImpl(i32);
|