error[E0614]: type `bool` cannot be dereferenced
--> tests/fail/expr/unary.rs:2:25
|
2 | one_assert::assert!(*false);
| ^^^^^^ can't be dereferenced
error[E0600]: cannot apply unary operator `-` to type `bool`
--> tests/fail/expr/unary.rs:3:25
|
3 | one_assert::assert!(-false);
| ^^^^^^ cannot apply unary operator `-`
error[E0614]: type `{integer}` cannot be dereferenced
--> tests/fail/expr/unary.rs:4:25
|
4 | one_assert::assert!(*1);
| ^^ can't be dereferenced
error[E0308]: mismatched types
--> tests/fail/expr/unary.rs:5:25
|
5 | one_assert::assert!(!0);
| ^^ expected `bool`, found integer
error[E0308]: mismatched types
--> tests/fail/expr/unary.rs:6:25
|
6 | one_assert::assert!(-0);
| ^^ expected `bool`, found integer