Fix expected error messages for better printing of ty_ptr

This commit is contained in:
Marijn Haverbeke 2012-01-02 15:59:04 +01:00
parent cdd806d324
commit b162f33396
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
// error-pattern:binary operation + cannot be applied to type `*i`
// error-pattern:binary operation + cannot be applied to type `*int`
fn die() -> *int { (0 as *int) + (0 as *int) }
fn main() { }

View File

@ -1,4 +1,4 @@
// error-pattern:expected `*Mb` but found `native`
// error-pattern:expected `*u8` but found `native`
use std;
fn main() unsafe {