1
Fork 0

librustc: Forbid pub or priv before trait implementations

This commit is contained in:
Patrick Walton 2013-02-26 17:12:00 -08:00
parent 573a31dfa7
commit 07c3f5c0de
67 changed files with 304 additions and 288 deletions

View file

@ -694,7 +694,7 @@ pub fn default_ast_fold() -> ast_fold_fns {
new_span: noop_span};
}
pub impl ast_fold for ast_fold_fns {
impl ast_fold for ast_fold_fns {
/* naturally, a macro to write these would be nice */
fn fold_crate(c: crate) -> crate {
let (n, s) = (self.fold_crate)(c.node, c.span, self as ast_fold);