Fix the error-patterns in 2 cfail tests. Issue #855
This commit is contained in:
parent
e35c021aa4
commit
913667ba25
@ -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"; }
|
||||
|
@ -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"; }
|
||||
|
Loading…
Reference in New Issue
Block a user