blob: 79bc7d2565be619f284419e92b3809b57cb7996a [file] [log] [blame]
error: `~` cannot be used as a unary operator
--> $DIR/issue-41679-tilde-bitwise-negation-attempt.rs:2:13
|
LL | let x = ~1;
| ^ help: use `!` to perform bitwise not
error: aborting due to previous error