error: `~` cannot be used as a unary operator
- --> $DIR/issue-41679-tilde-bitwise-negation-attempt.rs:12:13
+ --> $DIR/issue-41679-tilde-bitwise-negation-attempt.rs:2:13
|
LL | let x = ~1; //~ ERROR cannot be used as a unary operator
| ^ help: use `!` to perform bitwise negation