Skip to content

Commit 86a0769

Browse files
committed
fix after rebase
1 parent 430ad76 commit 86a0769

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ fn check_fn<'a, 'gcx, 'tcx>(inherited: &'a Inherited<'a, 'gcx, 'tcx>,
11441144
let span = fcx.tcx.hir.span(fn_id);
11451145
if inputs.len() == 1 {
11461146
let arg_is_panic_info = match inputs[0].sty {
1147-
ty::TyRef(region, ty::TypeAndMut { ty, mutbl }) => match ty.sty {
1147+
ty::TyRef(region, ty, mutbl) => match ty.sty {
11481148
ty::TyAdt(ref adt, _) => {
11491149
adt.did == panic_info_did &&
11501150
mutbl == hir::Mutability::MutImmutable &&

0 commit comments

Comments
 (0)