Clean up more lifetimes
This commit is contained in:
parent
b91a98ba10
commit
ae40f6a7ff
3 changed files with 10 additions and 15 deletions
|
@ -861,12 +861,9 @@ impl<Cx: TypeCx> ConstructorSet<Cx> {
|
|||
#[instrument(level = "debug", skip(self, pcx, ctors), ret)]
|
||||
pub(crate) fn split<'a>(
|
||||
&self,
|
||||
pcx: &PlaceCtxt<'_, '_, Cx>,
|
||||
pcx: &PlaceCtxt<'a, '_, Cx>,
|
||||
ctors: impl Iterator<Item = &'a Constructor<Cx>> + Clone,
|
||||
) -> SplitConstructorSet<Cx>
|
||||
where
|
||||
Cx: 'a,
|
||||
{
|
||||
) -> SplitConstructorSet<Cx> {
|
||||
let mut present: SmallVec<[_; 1]> = SmallVec::new();
|
||||
// Empty constructors found missing.
|
||||
let mut missing_empty = Vec::new();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue