Skip to content

Commit 9c98d0f

Browse files
committed
Fix some old syntax
1 parent 25dc59d commit 9c98d0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rustc/middle/astencode.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -984,14 +984,14 @@ fn test_more() {
984984
fn test_simplification() {
985985
let ext_cx = mk_ctxt();
986986
let item_in = ast::ii_item(#ast[item] {
987-
fn new_int_alist<B: copy>() -> alist<int, B> {
987+
fn new_int_alist<B: Copy>() -> alist<int, B> {
988988
fn eq_int(&&a: int, &&b: int) -> bool { a == b }
989989
return {eq_fn: eq_int, mut data: ~[]};
990990
}
991991
});
992992
let item_out = simplify_ast(item_in);
993993
let item_exp = ast::ii_item(#ast[item] {
994-
fn new_int_alist<B: copy>() -> alist<int, B> {
994+
fn new_int_alist<B: Copy>() -> alist<int, B> {
995995
return {eq_fn: eq_int, mut data: ~[]};
996996
}
997997
});

0 commit comments

Comments
 (0)