]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/did_you_mean/issue-41679-tilde-bitwise-negation-attempt.rs
4 let _x
= ~1; //~ ERROR cannot be used as a unary operator
5 let _y
= not
1; //~ ERROR unexpected `1` after identifier
6 let _z
= not
false; //~ ERROR unexpected keyword `false` after identifier
7 let _a
= not
true; //~ ERROR unexpected keyword `true` after identifier
9 let _v
= not v
; //~ ERROR unexpected `v` after identifier