We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25dc59d commit 9c98d0fCopy full SHA for 9c98d0f
src/rustc/middle/astencode.rs
@@ -984,14 +984,14 @@ fn test_more() {
984
fn test_simplification() {
985
let ext_cx = mk_ctxt();
986
let item_in = ast::ii_item(#ast[item] {
987
- fn new_int_alist<B: copy>() -> alist<int, B> {
+ fn new_int_alist<B: Copy>() -> alist<int, B> {
988
fn eq_int(&&a: int, &&b: int) -> bool { a == b }
989
return {eq_fn: eq_int, mut data: ~[]};
990
}
991
});
992
let item_out = simplify_ast(item_in);
993
let item_exp = ast::ii_item(#ast[item] {
994
995
996
997
0 commit comments