WIP rebase for shallow_resolve
call
This commit is contained in:
parent
094f3a844e
commit
81cd596bc5
1 changed files with 1 additions and 1 deletions
|
@ -663,7 +663,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
|||
// be inferring.
|
||||
let ret_ty = ret_coercion.borrow().expected_ty();
|
||||
let ret_ty = self.inh.infcx.shallow_resolve(ret_ty);
|
||||
let ret_vid = match ret_ty.sty {
|
||||
let ret_vid = match ret_ty.kind {
|
||||
ty::Infer(ty::TyVar(ret_vid)) => ret_vid,
|
||||
_ => {
|
||||
span_bug!(
|
||||
|
|
Loading…
Add table
Reference in a new issue