Point at unmet explicit lifetime obligation bound
This commit is contained in:
parent
7069a8c2b7
commit
e5d42af6ba
24 changed files with 238 additions and 55 deletions
|
@ -99,7 +99,7 @@ impl<'a, 'tcx> ConstraintConversion<'a, 'tcx> {
|
|||
GenericArgKind::Type(t1) => {
|
||||
// we don't actually use this for anything, but
|
||||
// the `TypeOutlives` code needs an origin.
|
||||
let origin = infer::RelateParamBound(DUMMY_SP, t1);
|
||||
let origin = infer::RelateParamBound(DUMMY_SP, t1, None);
|
||||
|
||||
TypeOutlives::new(
|
||||
&mut *self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue