diff --git a/src/comp/middle/debuginfo.rs b/src/comp/middle/debuginfo.rs index a3b4b22ff51..f834fa8b58b 100644 --- a/src/comp/middle/debuginfo.rs +++ b/src/comp/middle/debuginfo.rs @@ -727,6 +727,9 @@ fn create_function(fcx: @fn_ctxt) -> @metadata { } } } + ast_map::node_method(method) { + (method.ident, method.decl.output, method.id) + } ast_map::node_res_ctor(item) { alt item.node { ast::item_res(decl, _, _, _, ctor_id) { (item.ident, decl.output, ctor_id)