repair error msg

This commit is contained in:
Niko Matsakis 2012-07-13 10:01:50 -07:00
parent 9504778e2a
commit 4c463b78fb

View File

@ -4,7 +4,7 @@ enum ast {
}
fn mk_add_bad1(x: &a/ast, y: &b/ast) -> ast/&a {
add(x, y) //~ ERROR mismatched types: expected `&a.ast/&a` but found `&b.ast/&b`
add(x, y) //~ ERROR mismatched types: expected `&a/ast/&a` but found `&b/ast/&b`
}
fn main() {