Skip to content

Commit a284822

Browse files
committed
fix rebase
1 parent e537d06 commit a284822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/hir/map/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ impl<'hir> Map<'hir> {
744744
let mut iter = ParentHirIterator::new(id, &self).peekable();
745745
let mut ignore_tail = false;
746746
if let Some(entry) = self.find_entry(id) {
747-
if let Node::Expr(Expr { node: ExprKind::Ret(_), .. }) = entry.node {
747+
if let Node::Expr(Expr { kind: ExprKind::Ret(_), .. }) = entry.node {
748748
// When dealing with `return` statements, we don't care about climbing only tail
749749
// expressions.
750750
ignore_tail = true;

0 commit comments

Comments
 (0)