mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
4 lines
87 B
Rust
4 lines
87 B
Rust
// error-pattern:applying unary minus to non-numeric type 'str'
|
|
|
|
fn main() { -"foo"; }
|