提交 b162f333 编写于 作者: M Marijn Haverbeke

Fix expected error messages for better printing of ty_ptr

上级 cdd806d3
// 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() { }
\ No newline at end of file
// error-pattern:expected `*Mb` but found `native`
// error-pattern:expected `*u8` but found `native`
use std;
fn main() unsafe {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册