Member constraints already covered all of E0482 already, so that error never occurred anymore
This commit is contained in:
parent
2220fafa8c
commit
4413f8c709
4 changed files with 6 additions and 65 deletions
|
@ -417,9 +417,6 @@ pub enum SubregionOrigin<'tcx> {
|
|||
/// (&'a &'b T) where a >= b
|
||||
ReferenceOutlivesReferent(Ty<'tcx>, Span),
|
||||
|
||||
/// Region in return type of invoked fn must enclose call
|
||||
CallReturn(Span),
|
||||
|
||||
/// Comparing the signature and requirements of an impl method against
|
||||
/// the containing trait.
|
||||
CompareImplMethodObligation {
|
||||
|
@ -1803,7 +1800,6 @@ impl<'tcx> SubregionOrigin<'tcx> {
|
|||
ReborrowUpvar(a, _) => a,
|
||||
DataBorrowed(_, a) => a,
|
||||
ReferenceOutlivesReferent(_, a) => a,
|
||||
CallReturn(a) => a,
|
||||
CompareImplMethodObligation { span, .. } => span,
|
||||
CompareImplTypeObligation { span, .. } => span,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue