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
14
15
16
error[E0308]: mismatched types
 --> tests/fail/expr/const.rs:2:33
  |
2 |     one_assert::assert!(const { 3 + 1 });
  |                                 ^^^^^ expected `bool`, found integer

error[E0308]: mismatched types
 --> tests/fail/expr/const.rs:4:15
  |
4 |           const {
  |  _______________^
5 | |             let x = 1;
6 | |             x == 1;
  | |                   - help: remove this semicolon to return this value
7 | |         }
  | |_________^ expected `bool`, found `()`