Name tweaks
This commit is contained in:
parent
9108294a6c
commit
6f77bfe8b6
22 changed files with 87 additions and 75 deletions
|
@ -2059,7 +2059,10 @@ impl<'tcx> RegionInferenceContext<'tcx> {
|
|||
// We currently do not store the `DefId` in the `ConstraintCategory`
|
||||
// for performances reasons. The error reporting code used by NLL only
|
||||
// uses the span, so this doesn't cause any problems at the moment.
|
||||
Some(ObligationCauseCode::SpannedItem(CRATE_DEF_ID.to_def_id(), predicate_span))
|
||||
Some(ObligationCauseCode::SpannedWhereClause(
|
||||
CRATE_DEF_ID.to_def_id(),
|
||||
predicate_span,
|
||||
))
|
||||
} else {
|
||||
None
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue