2018-03-11 03:04:15 -05:00
|
|
|
error: `~` cannot be used as a unary operator
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-41679-tilde-bitwise-negation-attempt.rs:2:13
|
2018-03-11 03:04:15 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | let x = ~1;
|
2019-10-18 04:15:16 -05:00
|
|
|
| ^ help: use `!` to perform bitwise not
|
2018-03-11 03:04:15 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|