debuginfo: Fixed some merge fallout

This commit is contained in:
Michael Woerister
2013-09-04 19:31:13 +02:00
parent c49eb075db
commit 5b94ae93f3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ pub fn create_captured_var_metadata(bcx: @mut Block,
cx.sess.span_bug(span, "debuginfo::create_captured_var_metadata() - NodeId not found");
}
Some(ast_map::node_local(ident)) => ident,
Some(ast_map::node_arg(@ast::pat { node: ast::pat_ident(_, ref path, _), _ })) => {
Some(ast_map::node_arg(@ast::Pat { node: ast::PatIdent(_, ref path, _), _ })) => {
ast_util::path_to_ident(path)
}
_ => {
+1 -1
View File
@@ -73,7 +73,7 @@ pub enum ast_node {
node_variant(variant, @item, @path),
node_expr(@Expr),
node_stmt(@Stmt),
node_arg(@pat),
node_arg(@Pat),
node_local(Ident),
node_block(Block),
node_struct_ctor(@struct_def, @item, @path),