]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unop-neg-bool.stderr
Auto merge of #102684 - JhonnyBillM:delete-target-data-layout-errors-wrapper, r=davidtwco
[rust.git] / src / test / ui / unop-neg-bool.stderr
1 error[E0600]: cannot apply unary operator `-` to type `bool`
2   --> $DIR/unop-neg-bool.rs:2:5
3    |
4 LL |     -true;
5    |     ^^^^^ cannot apply unary operator `-`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0600`.