Promote 'const', 'copy', 'fn' to strict keywords

This commit is contained in:
Brian Anderson
2012-09-12 14:51:38 -07:00
parent 7eb10c4ce1
commit 7568dd4564
5 changed files with 22 additions and 18 deletions

View File

@@ -335,7 +335,7 @@ fn mk_test_desc_rec(cx: test_ctxt, test: test) -> @ast::expr {
let fn_wrapper_expr = mk_test_wrapper(cx, fn_expr, span);
let fn_field: ast::field =
nospan({mutbl: ast::m_imm, ident: cx.sess.ident_of(~"fn"),
nospan({mutbl: ast::m_imm, ident: cx.sess.ident_of(~"testfn"),
expr: fn_wrapper_expr});
let ignore_lit: ast::lit = nospan(ast::lit_bool(test.ignore));