]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unop-neg-bool.rs
Merge commit 'e214ea82ad0a751563acf67e1cd9279cf302db3a' 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 }