mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00:00
rustc_typeck: fix fallout
This commit is contained in:
parent
62ee3f1622
commit
274146d650
@ -1052,11 +1052,11 @@ fn constrain_callee(rcx: &mut Rcx,
|
||||
}
|
||||
}
|
||||
|
||||
fn constrain_call<'a, I: Iterator<&'a ast::Expr>>(rcx: &mut Rcx,
|
||||
call_expr: &ast::Expr,
|
||||
receiver: Option<&ast::Expr>,
|
||||
mut arg_exprs: I,
|
||||
implicitly_ref_args: bool) {
|
||||
fn constrain_call<'a, I: Iterator<Item=&'a ast::Expr>>(rcx: &mut Rcx,
|
||||
call_expr: &ast::Expr,
|
||||
receiver: Option<&ast::Expr>,
|
||||
mut arg_exprs: I,
|
||||
implicitly_ref_args: bool) {
|
||||
//! Invoked on every call site (i.e., normal calls, method calls,
|
||||
//! and overloaded operators). Constrains the regions which appear
|
||||
//! in the type of the function. Also constrains the regions that
|
||||
|
@ -428,7 +428,7 @@ fn convert_methods<'a,'tcx,'i,I>(ccx: &CrateCtxt<'a, 'tcx>,
|
||||
untransformed_rcvr_ty: Ty<'tcx>,
|
||||
rcvr_ty_generics: &ty::Generics<'tcx>,
|
||||
rcvr_visibility: ast::Visibility)
|
||||
where I: Iterator<&'i ast::Method> {
|
||||
where I: Iterator<Item=&'i ast::Method> {
|
||||
debug!("convert_methods(untransformed_rcvr_ty={}, rcvr_ty_generics={})",
|
||||
untransformed_rcvr_ty.repr(ccx.tcx),
|
||||
rcvr_ty_generics.repr(ccx.tcx));
|
||||
|
Loading…
Reference in New Issue
Block a user