]> git.lizzy.rs Git - rust.git/blob - tests/ui/unop-neg-bool.rs
Auto merge of #101138 - Rejyr:diagnostic-migration-rustc-lint-pt2, r=davidtwco
[rust.git] / tests / ui / unop-neg-bool.rs
1 fn main() {
2     -true; //~ ERROR cannot apply unary operator `-` to type `bool`
3 }