Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
refs/tags/1.58.1
/
.
/
src
/
test
/
ui
/
minus-string.rs
blob: 018f0ef9ac56c37068bdddef3b7635ab779eee7b [
file
] [
log
] [
blame
]
// error-pattern:cannot apply unary operator `-` to type `String`
fn
main
()
{
-
"foo"
.
to_string
();
}