From ce857e3d60da1b5eff5d830dbd03f32a8890ad16 Mon Sep 17 00:00:00 2001 From: Ben Blum Date: Mon, 17 Jun 2013 15:16:30 -0400 Subject: Parse and typecheck (not kindcheck) bounds on trait paths. --- src/libsyntax/ast_util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/ast_util.rs') diff --git a/src/libsyntax/ast_util.rs b/src/libsyntax/ast_util.rs index 34c247662a4..24cf5662a36 100644 --- a/src/libsyntax/ast_util.rs +++ b/src/libsyntax/ast_util.rs @@ -473,7 +473,7 @@ pub fn id_visitor(vfn: @fn(node_id, T)) -> visit::vt { visit_ty: |ty, (t, vt)| { match ty.node { - ty_path(_, id) => vfn(id, copy t), + ty_path(_, _, id) => vfn(id, copy t), _ => { /* fall through */ } } visit::visit_ty(ty, (t, vt)); -- cgit 1.4.1-3-g733a5