rust/src/test/ui/unop-neg-bool.rs
2018-12-25 21:08:33 -07:00

4 lines
82 B
Rust

fn main() {
-true; //~ ERROR cannot apply unary operator `-` to type `bool`
}