librustc: Stop parsing impl Type : Trait
and fix several declarations that slipped through. r=tjc
This commit is contained in:
parent
566bcf2225
commit
bb833ca0f0
82 changed files with 327 additions and 424 deletions
|
@ -692,7 +692,7 @@ pub fn default_ast_fold() -> ast_fold_fns {
|
|||
new_span: noop_span};
|
||||
}
|
||||
|
||||
pub impl ast_fold_fns: ast_fold {
|
||||
pub 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue