From d0fa4c6239accc08aae11d9db3e13d4153add432 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 4 Nov 2014 16:25:15 -0500 Subject: Remove the unboxed closure `|:|` notation from types and trait references completely. --- src/libsyntax/ast_map/mod.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/libsyntax/ast_map/mod.rs') diff --git a/src/libsyntax/ast_map/mod.rs b/src/libsyntax/ast_map/mod.rs index f049b964ff3..3adb062864e 100644 --- a/src/libsyntax/ast_map/mod.rs +++ b/src/libsyntax/ast_map/mod.rs @@ -848,9 +848,6 @@ impl<'ast> Visitor<'ast> for NodeCollector<'ast> { TyBareFn(ref fd) => { self.visit_fn_decl(&*fd.decl); } - TyUnboxedFn(ref fd) => { - self.visit_fn_decl(&*fd.decl); - } _ => {} } visit::walk_ty(self, ty); -- cgit 1.4.1-3-g733a5