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
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
test
/
compile-fail
/
minus-string.rs
blob: e30a2dbe7df9d3b4ea5de522c3a222f22527b75d (
plain
)
1
2
3
// error-pattern:applying unary minus to non-numeric type str
fn
main
()
{
-
"foo"
;
}