Skip to content

Commit 4c463b7

Browse files
committed
repair error msg
1 parent 9504778 commit 4c463b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/regions-creating-enums3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ enum ast {
44
}
55

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

1010
fn main() {

0 commit comments

Comments
 (0)