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: 27ed51852a4d06614f3801d185e4991f5829c909 (
plain
)
1
2
3
// error-pattern:cannot apply unary operator `-` to type `str` fn main() { -"foo"; }