diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-01-11 09:58:05 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-01-13 06:27:34 -0800 |
| commit | 455f8b0d4588b6d890ce8a908d488c0325e3f29e (patch) | |
| tree | 9da702ded644a4d6eabe0936949060ca0ecc1c9d /src/comp/syntax/ext | |
| parent | d2be5b6c7a20b8b33f61cd0db4a3cbbdd7a5448a (diff) | |
deprecate fn exprs and the fn() type, preferring fn@ and native fn
Diffstat (limited to 'src/comp/syntax/ext')
| -rw-r--r-- | src/comp/syntax/ext/simplext.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/ext/simplext.rs b/src/comp/syntax/ext/simplext.rs index 8f6f1a5828a..719c354b8a6 100644 --- a/src/comp/syntax/ext/simplext.rs +++ b/src/comp/syntax/ext/simplext.rs @@ -532,7 +532,7 @@ fn block_to_ident(blk: blk_) -> option::t<ident> { fn p_t_s_r_mac(cx: ext_ctxt, mac: ast::mac, s: selector, b: binders) { fn select_pt_1(cx: ext_ctxt, m: matchable, - fn_m: fn(ast::mac) -> match_result) -> match_result { + fn_m: block(ast::mac) -> match_result) -> match_result { ret alt m { match_expr(e) { alt e.node { expr_mac(mac) { fn_m(mac) } _ { none } } |
