diff --git a/src/librustc/hir/lowering.rs b/src/librustc/hir/lowering.rs index 51f587ca46c..b801513528f 100644 --- a/src/librustc/hir/lowering.rs +++ b/src/librustc/hir/lowering.rs @@ -1834,13 +1834,10 @@ impl<'a> LoweringContext<'a> { ExprKind::Try(ref sub_expr) => { // to: // - // #[allow(unreachable_patterns)] // match Carrier::translate() { - // Ok(val) => { - // #[allow(unreachable_code)] - // val - // } - // Err(err) => return Carrier::from_error(From::from(err)) + // Ok(val) => #[allow(unreachable_code)] val, + // Err(err) => #[allow(unreachable_code)] + // return Carrier::from_error(From::from(err)), // } let unstable_span = self.allow_internal_unstable("?", e.span);