mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-20 00:40:33 +00:00
2 lines
93 B
Rust
2 lines
93 B
Rust
fn main() { -"foo".to_string(); } //~ ERROR cannot apply unary operator `-` to type `String`
|