Skip to content

Commit b162f33

Browse files
committed
Fix expected error messages for better printing of ty_ptr
1 parent cdd806d commit b162f33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// error-pattern:binary operation + cannot be applied to type `*i`
1+
// error-pattern:binary operation + cannot be applied to type `*int`
22

33
fn die() -> *int { (0 as *int) + (0 as *int) }
44
fn main() { }

src/test/compile-fail/native-type-mismatch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// error-pattern:expected `*Mb` but found `native`
1+
// error-pattern:expected `*u8` but found `native`
22
use std;
33

44
fn main() unsafe {

0 commit comments

Comments
 (0)