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
/
src
/
test
/
compile-fail
/
minus-string.rs
blob: f77756942b188c86a0e57c48edfb8cf4d8013237 (
plain
)
1
2
3
// error-pattern:applying unary minus to non-numeric type `str` fn main() { -"foo"; }