diff options
| author | Michael Goulet <michael@errs.io> | 2024-02-02 22:45:25 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-02-02 22:47:26 +0000 |
| commit | 6b2a8249c196898c3932d818b263f4c32a5ed454 (patch) | |
| tree | ec2bd50783996039ed963a41afa80dab9ed9e7bf /compiler/rustc_pattern_analysis/src | |
| parent | 11f32b73e0dc9287e305b5b9980d24aecdc8c17f (diff) | |
| download | rust-6b2a8249c196898c3932d818b263f4c32a5ed454.tar.gz rust-6b2a8249c196898c3932d818b263f4c32a5ed454.zip | |
Remove dead args from functions
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
| -rw-r--r-- | compiler/rustc_pattern_analysis/src/lints.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_pattern_analysis/src/lints.rs b/compiler/rustc_pattern_analysis/src/lints.rs index 3f1497540d2..30e775733de 100644 --- a/compiler/rustc_pattern_analysis/src/lints.rs +++ b/compiler/rustc_pattern_analysis/src/lints.rs @@ -10,7 +10,7 @@ use crate::MatchArm; /// Traverse the patterns to collect any variants of a non_exhaustive enum that fail to be mentioned /// in a given column. #[instrument(level = "debug", skip(cx), ret)] -fn collect_nonexhaustive_missing_variants<'a, 'p, 'tcx>( +fn collect_nonexhaustive_missing_variants<'p, 'tcx>( cx: &RustcMatchCheckCtxt<'p, 'tcx>, column: &PatternColumn<'p, RustcMatchCheckCtxt<'p, 'tcx>>, ) -> Result<Vec<WitnessPat<'p, 'tcx>>, ErrorGuaranteed> { |
