We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e537d06 commit a284822Copy full SHA for a284822
src/librustc/hir/map/mod.rs
@@ -744,7 +744,7 @@ impl<'hir> Map<'hir> {
744
let mut iter = ParentHirIterator::new(id, &self).peekable();
745
let mut ignore_tail = false;
746
if let Some(entry) = self.find_entry(id) {
747
- if let Node::Expr(Expr { node: ExprKind::Ret(_), .. }) = entry.node {
+ if let Node::Expr(Expr { kind: ExprKind::Ret(_), .. }) = entry.node {
748
// When dealing with `return` statements, we don't care about climbing only tail
749
// expressions.
750
ignore_tail = true;
0 commit comments