Yeet some lifetimes
This commit is contained in:
parent
e4c626dd9a
commit
eebb2abe0b
4 changed files with 40 additions and 40 deletions
|
@ -83,7 +83,7 @@ impl<'p, Cx: TypeCx> DeconstructedPat<'p, Cx> {
|
|||
&self,
|
||||
pcx: &PlaceCtxt<'a, 'p, Cx>,
|
||||
other_ctor: &Constructor<Cx>,
|
||||
) -> SmallVec<[&'a DeconstructedPat<'p, Cx>; 2]> {
|
||||
) -> SmallVec<[&'p DeconstructedPat<'p, Cx>; 2]> {
|
||||
let wildcard_sub_tys = || {
|
||||
let tys = pcx.ctor_sub_tys(other_ctor);
|
||||
tys.iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue