blob: 84235ca4d637281b9d189b4dc794f129a1f4a27d [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 negation
error: aborting due to previous error