Sign in
rust
/
rust
/
08650fbb506c44fbc95d91abfb7cd95a56bbff30
/
.
/
src
/
test
/
ui
/
minus-string.rs
blob: 018f0ef9ac56c37068bdddef3b7635ab779eee7b [
file
]
// error-pattern:cannot apply unary operator `-` to type `String`
fn
main
()
{
-
"foo"
.
to_string
();
}