summaryrefslogtreecommitdiffstats
path: root/src/test/ui/unop-neg-bool.stderr
blob: 9913747b88ee9b81e5f70962da05f7c18b6336fd (plain)
1
2
3
4
5
6
7
8
9
error[E0600]: cannot apply unary operator `-` to type `bool`
  --> $DIR/unop-neg-bool.rs:2:5
   |
LL |     -true;
   |     ^^^^^ cannot apply unary operator `-`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0600`.