// error-pattern:cannot apply unary operator `-` to type `~str` fn main() { -~"foo"; }