mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
repair error msg
This commit is contained in:
parent
9504778e2a
commit
4c463b78fb
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user