]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unop-neg-bool.rs
Merge commit 'b20d4c155d2fe3a8391f86dcf9a8c49e17188703' into clippyup
[rust.git] / src / test / ui / unop-neg-bool.rs
1 fn main() {
2     -true; //~ ERROR cannot apply unary operator `-` to type `bool`
3 }