Forbid privacy in inner functions

Closes #10111
This commit is contained in:
Alex Crichton
2013-11-05 18:06:27 -08:00
parent ade310cbb6
commit dab8fec4af
10 changed files with 121 additions and 13 deletions

View File

@@ -138,7 +138,7 @@ pub fn expand_expr(extsbox: @mut SyntaxEnv,
let span = e.span;
pub fn mk_expr(_: @ExtCtxt, span: Span, node: Expr_)
fn mk_expr(_: @ExtCtxt, span: Span, node: Expr_)
-> @ast::Expr {
@ast::Expr {
id: ast::DUMMY_NODE_ID,