diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2024-04-23 17:25:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-23 17:25:17 +0200 |
| commit | 6e423e1651e807ee3a07aa2f188fefadcb464071 (patch) | |
| tree | a47844ca41645b465d8bad4f5efc6c237be1d411 /compiler/rustc_trait_selection | |
| parent | e15d6f9d8580b5f54376c2c48bd5ecf8ba0b5ce7 (diff) | |
| parent | 6974e9cf7012b0f3e2a58a8accde23007274f9a9 (diff) | |
| download | rust-6e423e1651e807ee3a07aa2f188fefadcb464071.tar.gz rust-6e423e1651e807ee3a07aa2f188fefadcb464071.zip | |
Rollup merge of #124218 - Xiretza:subsubdiagnostics, r=davidtwco
Allow nesting subdiagnostics in #[derive(Subdiagnostic)]
Diffstat (limited to 'compiler/rustc_trait_selection')
| -rw-r--r-- | compiler/rustc_trait_selection/src/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/errors.rs b/compiler/rustc_trait_selection/src/errors.rs index b126062102e..9b08a86ef16 100644 --- a/compiler/rustc_trait_selection/src/errors.rs +++ b/compiler/rustc_trait_selection/src/errors.rs @@ -104,7 +104,7 @@ impl Subdiagnostic for AdjustSignatureBorrow { fn add_to_diag_with<G: EmissionGuarantee, F: SubdiagMessageOp<G>>( self, diag: &mut Diag<'_, G>, - _f: F, + _f: &F, ) { match self { AdjustSignatureBorrow::Borrow { to_borrow } => { |
