mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 19:27:30 +03:00
WIP rebase for shallow_resolve call
This commit is contained in:
@@ -663,7 +663,7 @@ fn deduce_future_output_from_obligations(
|
||||
// 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!(
|
||||
|
||||
Reference in New Issue
Block a user