diff options
| author | The Miri Cronjob Bot <miri@cron.bot> | 2024-04-24 05:04:52 +0000 |
|---|---|---|
| committer | The Miri Cronjob Bot <miri@cron.bot> | 2024-04-24 05:04:52 +0000 |
| commit | 7e968351aa7abb766f56640f7dd9460749ef6f2b (patch) | |
| tree | 24d179c88d79c08cb94c57cca50cdfaa7579c1a3 /compiler/rustc_pattern_analysis | |
| parent | b3affd3e90d44833ca43e8d14c0af54bcd862283 (diff) | |
| parent | 65d7c1d2d621c607174f429d5f7553210315dbae (diff) | |
| download | rust-7e968351aa7abb766f56640f7dd9460749ef6f2b.tar.gz rust-7e968351aa7abb766f56640f7dd9460749ef6f2b.zip | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_pattern_analysis')
| -rw-r--r-- | compiler/rustc_pattern_analysis/src/errors.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_pattern_analysis/src/errors.rs b/compiler/rustc_pattern_analysis/src/errors.rs index 75b7b7c8f67..27f227e6d9c 100644 --- a/compiler/rustc_pattern_analysis/src/errors.rs +++ b/compiler/rustc_pattern_analysis/src/errors.rs @@ -65,7 +65,7 @@ impl<'tcx> Subdiagnostic for Overlap<'tcx> { fn add_to_diag_with<G: EmissionGuarantee, F: SubdiagMessageOp<G>>( self, diag: &mut Diag<'_, G>, - _: F, + _: &F, ) { let Overlap { span, range } = self; @@ -113,7 +113,7 @@ impl<'tcx> Subdiagnostic for GappedRange<'tcx> { fn add_to_diag_with<G: EmissionGuarantee, F: SubdiagMessageOp<G>>( self, diag: &mut Diag<'_, G>, - _: F, + _: &F, ) { let GappedRange { span, gap, first_range } = self; |
