]> git.lizzy.rs Git - rust.git/blob - tests/ui/unop-neg-bool.rs
Rollup merge of #106446 - bzEq:fix-unwind-lsda, r=Amanieu
[rust.git] / tests / ui / unop-neg-bool.rs
1 fn main() {
2     -true; //~ ERROR cannot apply unary operator `-` to type `bool`
3 }