summaryrefslogtreecommitdiffstats
path: root/src/test/ui/unop-neg-bool.rs
blob: 6f1f1aba459306b560cf231d084acd94f9376581 (plain)
1
2
3
fn main() {
    -true; //~ ERROR cannot apply unary operator `-` to type `bool`
}