Fix expected error messages for better printing of ty_ptr
This commit is contained in:
parent
cdd806d324
commit
b162f33396
@ -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() { }
|
@ -1,4 +1,4 @@
|
||||
// error-pattern:expected `*Mb` but found `native`
|
||||
// error-pattern:expected `*u8` but found `native`
|
||||
use std;
|
||||
|
||||
fn main() unsafe {
|
||||
|
Loading…
Reference in New Issue
Block a user