Rework upcasting
This commit is contained in:
parent
fcf3006e01
commit
1bb6ae5874
12 changed files with 297 additions and 104 deletions
|
@ -374,6 +374,8 @@ pub enum ValuePairs<'tcx> {
|
|||
TraitRefs(ExpectedFound<ty::TraitRef<'tcx>>),
|
||||
PolyTraitRefs(ExpectedFound<ty::PolyTraitRef<'tcx>>),
|
||||
Sigs(ExpectedFound<ty::FnSig<'tcx>>),
|
||||
ExistentialTraitRef(ExpectedFound<ty::PolyExistentialTraitRef<'tcx>>),
|
||||
ExistentialProjection(ExpectedFound<ty::PolyExistentialProjection<'tcx>>),
|
||||
}
|
||||
|
||||
impl<'tcx> ValuePairs<'tcx> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue