summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/lib.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-12-26 01:59:18 +0000
committerMichael Goulet <michael@errs.io>2023-12-26 01:59:18 +0000
commiteebb2abe0bd7d434ac3739e847c7b7452545d1c5 (patch)
tree922c36a767d84d4753b54da79667f2c3c4555f0e /compiler/rustc_pattern_analysis/src/lib.rs
parente4c626dd9a17a23270bf8e7158e59cf2b9c04840 (diff)
downloadrust-eebb2abe0bd7d434ac3739e847c7b7452545d1c5.tar.gz
rust-eebb2abe0bd7d434ac3739e847c7b7452545d1c5.zip
Yeet some lifetimes
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/lib.rs')
-rw-r--r--compiler/rustc_pattern_analysis/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_pattern_analysis/src/lib.rs b/compiler/rustc_pattern_analysis/src/lib.rs
index a1c9b157666..e01b571ede1 100644
--- a/compiler/rustc_pattern_analysis/src/lib.rs
+++ b/compiler/rustc_pattern_analysis/src/lib.rs
@@ -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.