Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
minus-string.rs
blob: 8d9b8d8bbf49e1c503dd0e525976cc102b666f4d [
file
] [
log
] [
blame
] [
edit
]
//@ error-pattern:cannot apply unary operator `-` to type `String`
fn
main
()
{
-
"foo"
.
to_string
();
}