Name tweaks
This commit is contained in:
parent
9108294a6c
commit
6f77bfe8b6
22 changed files with 87 additions and 75 deletions
|
@ -738,7 +738,7 @@ impl<'tcx> Visitor<'tcx> for Checker<'_, 'tcx> {
|
|||
let cause = ObligationCause::new(
|
||||
terminator.source_info.span,
|
||||
self.body.source.def_id().expect_local(),
|
||||
ObligationCauseCode::MiscItem(callee),
|
||||
ObligationCauseCode::WhereClause(callee),
|
||||
);
|
||||
let normalized_predicates = ocx.normalize(&cause, param_env, predicates);
|
||||
ocx.register_obligations(traits::predicates_for_generics(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue