Skip to content

Commit 5b94ae9

Browse files
debuginfo: Fixed some merge fallout
1 parent c49eb07 commit 5b94ae9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustc/middle/trans/debuginfo.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ pub fn create_captured_var_metadata(bcx: @mut Block,
245245
cx.sess.span_bug(span, "debuginfo::create_captured_var_metadata() - NodeId not found");
246246
}
247247
Some(ast_map::node_local(ident)) => ident,
248-
Some(ast_map::node_arg(@ast::pat { node: ast::pat_ident(_, ref path, _), _ })) => {
248+
Some(ast_map::node_arg(@ast::Pat { node: ast::PatIdent(_, ref path, _), _ })) => {
249249
ast_util::path_to_ident(path)
250250
}
251251
_ => {

src/libsyntax/ast_map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pub enum ast_node {
7373
node_variant(variant, @item, @path),
7474
node_expr(@Expr),
7575
node_stmt(@Stmt),
76-
node_arg(@pat),
76+
node_arg(@Pat),
7777
node_local(Ident),
7878
node_block(Block),
7979
node_struct_ctor(@struct_def, @item, @path),

0 commit comments

Comments
 (0)