]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unop-neg-bool.stderr
Auto merge of #60065 - QuietMisdreavus:async-move-doctests, r=ollie27
[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    = note: an implementation of `std::ops::Neg` might be missing for `bool`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0600`.