]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unop-neg-bool.rs
Rollup merge of #93112 - pietroalbini:pa-cve-2022-21658-nightly, r=pietroalbini
[rust.git] / src / test / ui / unop-neg-bool.rs
1 fn main() {
2     -true; //~ ERROR cannot apply unary operator `-` to type `bool`
3 }