warning: unnecessary parentheses around `if` condition
--> tests/fail/expr/paren.rs:2:25
|
2 | one_assert::assert!((1));
| ^ ^
|
= note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
help: remove these parentheses
|
2 - one_assert::assert!((1));
2 + one_assert::assert!( 1 );
|
error[E0308]: mismatched types
--> tests/fail/expr/paren.rs:2:25
|
2 | one_assert::assert!((1));
| ^^^ expected `bool`, found integer