4 lines
114 B
Rust
4 lines
114 B
Rust
// error-pattern:cannot apply unary operator `-` to type `std::string::String`
|
|
|
|
fn main() { -"foo".to_string(); }
|