Yeet some lifetimes

This commit is contained in:
Michael Goulet 2023-12-26 01:59:18 +00:00
parent e4c626dd9a
commit eebb2abe0b
4 changed files with 40 additions and 40 deletions

View file

@ -91,7 +91,7 @@ pub struct MatchCtxt<'a, 'p, Cx: TypeCx> {
/// The context for type information.
pub tycx: &'a Cx,
/// An arena to store the wildcards we produce during analysis.
pub wildcard_arena: &'a TypedArena<DeconstructedPat<'p, Cx>>,
pub wildcard_arena: &'p TypedArena<DeconstructedPat<'p, Cx>>,
}
/// The arm of a match expression.