Skip to content

Commit

Permalink
debuginfo: Fixed some merge fallout
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwoerister committed Sep 4, 2013
1 parent c49eb07 commit 5b94ae9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/librustc/middle/trans/debuginfo.rs
Expand Up @@ -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)
}
_ => {
Expand Down
2 changes: 1 addition & 1 deletion src/libsyntax/ast_map.rs
Expand Up @@ -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),
Expand Down

1 comment on commit 5b94ae9

@jdm
Copy link

@jdm jdm commented on 5b94ae9 Sep 4, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

Please sign in to comment.