index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
unop-neg-bool.rs
blob: 6f1f1aba459306b560cf231d084acd94f9376581 (
plain
)
1
2
3
fn main() { -true; //~ ERROR cannot apply unary operator `-` to type `bool` }