Minor fix
This commit is contained in:
parent
8010314190
commit
54c72d8f98
@ -60,8 +60,7 @@ impl<'tcx> Mirror<'tcx> for &'tcx hir::Expr {
|
||||
kind: ExprKind::UnsafeFnPointer { source: expr.to_ref() },
|
||||
};
|
||||
}
|
||||
Some(&ty::adjustment::AdjustNeverToAny(..)) => {
|
||||
let adjusted_ty = cx.tcx.expr_ty_adjusted(self);
|
||||
Some(&ty::adjustment::AdjustNeverToAny(adjusted_ty)) => {
|
||||
expr = Expr {
|
||||
temp_lifetime: temp_lifetime,
|
||||
ty: adjusted_ty,
|
||||
|
Loading…
x
Reference in New Issue
Block a user