Pacify the mercilous tidy.
This commit is contained in:
parent
21fb420592
commit
eec3b431aa
1 changed files with 2 additions and 1 deletions
|
@ -3635,7 +3635,8 @@ fn check_expr_with_unifier<'a, 'tcx, F>(fcx: &FnCtxt<'a, 'tcx>,
|
|||
let (scheme, predicates) = type_scheme_and_predicates_for_def(fcx, expr.span, defn);
|
||||
let mut path = qpath.trait_ref.path.clone();
|
||||
path.segments.push(qpath.item_path.clone());
|
||||
instantiate_path(fcx, &path, scheme, &predicates, Some(self_ty), defn, expr.span, expr.id);
|
||||
instantiate_path(fcx, &path, scheme, &predicates, Some(self_ty),
|
||||
defn, expr.span, expr.id);
|
||||
|
||||
// We always require that the type provided as the value for
|
||||
// a type parameter outlives the moment of instantiation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue