diff --git a/src/test/compile-fail/binop-bitxor-str.rs b/src/test/compile-fail/binop-bitxor-str.rs index 65e0996fa62..cfb0ac6ed3a 100644 --- a/src/test/compile-fail/binop-bitxor-str.rs +++ b/src/test/compile-fail/binop-bitxor-str.rs @@ -1,3 +1,3 @@ -// error-pattern:^ cannot be applied to type `str` +// error-pattern:^ cannot be applied to type `istr` fn main() { let x = "a" ^ "b"; } diff --git a/src/test/compile-fail/minus-string.rs b/src/test/compile-fail/minus-string.rs index e30a2dbe7df..8141c510b47 100644 --- a/src/test/compile-fail/minus-string.rs +++ b/src/test/compile-fail/minus-string.rs @@ -1,3 +1,3 @@ -// error-pattern:applying unary minus to non-numeric type str +// error-pattern:applying unary minus to non-numeric type istr fn main() { -"foo"; }