Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
src
/
test
/
ui
/
minus-string.rs
blob: 946c587ce43b45331ec13daab0ef29493d8e2d4e [
file
] [
log
] [
blame
]
// error-pattern:cannot apply unary operator `-` to type `std::string::String`
fn
main
()
{
-
"foo"
.
to_string
();
}