Skip to content

Commit b9ea715

Browse files
committed
Fix rebase issues
1 parent 5efa7c9 commit b9ea715

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_typeck/check

1 file changed

+1
-1
lines changed

src/librustc_typeck/check/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ fn check_fn<'a, 'gcx, 'tcx>(inherited: &'a Inherited<'a, 'gcx, 'tcx>,
10701070
if fcx.tcx.features().exhaustive_patterns {
10711071
if arg_ty.conservative_is_uninhabited() {
10721072
let mut diverges = Diverges::Always;
1073-
if let hir::Expr_::ExprBlock(ref block, _) = body.value.node {
1073+
if let hir::ExprKind::Block(ref block, _) = body.value.node {
10741074
// If the function is completely empty, or has a single trailing
10751075
// expression, then we do not issue a warning (as it was likely
10761076
// mandated by a trait, rather than being an oversight).

0 commit comments

Comments
 (0)