blob: d2d9abee22cdc9d3fbb295b9e428697d6c3de15e [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; //~ ERROR cannot be used as a unary operator
| ^ help: use `!` to perform bitwise negation
error: aborting due to previous error