one_assert 0.2.0

One assert! to replace them all
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
  |