We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ea6a49 commit 48c1c3cCopy full SHA for 48c1c3c
src/librustc/middle/astencode.rs
@@ -1278,13 +1278,13 @@ fn test_simplification() {
1278
let item_in = ast::ii_item(quote_item!(
1279
fn new_int_alist<B:Copy>() -> alist<int, B> {
1280
fn eq_int(&&a: int, &&b: int) -> bool { a == b }
1281
- return {eq_fn: eq_int, data: ~[]};
+ return alist {eq_fn: eq_int, data: ~[]};
1282
}
1283
).get());
1284
let item_out = simplify_ast(item_in);
1285
let item_exp = ast::ii_item(quote_item!(
1286
1287
1288
1289
1290
match (item_out, item_exp) {
0 commit comments