Permalink
Browse files

Fix some old syntax

  • Loading branch information...
1 parent 25dc59d commit 9c98d0f99b44e1c57bdd60881518140e2593a5a4 @brson brson committed Sep 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/rustc/middle/astencode.rs
@@ -984,14 +984,14 @@ fn test_more() {
fn test_simplification() {
let ext_cx = mk_ctxt();
let item_in = ast::ii_item(#ast[item] {
- fn new_int_alist<B: copy>() -> alist<int, B> {
+ fn new_int_alist<B: Copy>() -> alist<int, B> {
fn eq_int(&&a: int, &&b: int) -> bool { a == b }
return {eq_fn: eq_int, mut data: ~[]};
}
});
let item_out = simplify_ast(item_in);
let item_exp = ast::ii_item(#ast[item] {
- fn new_int_alist<B: copy>() -> alist<int, B> {
+ fn new_int_alist<B: Copy>() -> alist<int, B> {
return {eq_fn: eq_int, mut data: ~[]};
}
});

0 comments on commit 9c98d0f

Please sign in to comment.