diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-08-01 19:01:32 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-08-03 19:58:59 +1000 |
| commit | 2434d8cecfb228093277c1b4506ae47db1972de9 (patch) | |
| tree | 33fd971c48bca5542c7dbf01151af0a9b3f696fb /compiler/rustc_symbol_mangling/src | |
| parent | 03dab500a2a885c3cf196d6d72695deda7da7698 (diff) | |
| download | rust-2434d8cecfb228093277c1b4506ae47db1972de9.tar.gz rust-2434d8cecfb228093277c1b4506ae47db1972de9.zip | |
Remove unused arg from `path_append_impl`.
None of the impls use it.
Diffstat (limited to 'compiler/rustc_symbol_mangling/src')
| -rw-r--r-- | compiler/rustc_symbol_mangling/src/legacy.rs | 1 | ||||
| -rw-r--r-- | compiler/rustc_symbol_mangling/src/v0.rs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_symbol_mangling/src/legacy.rs b/compiler/rustc_symbol_mangling/src/legacy.rs index d1834abb32b..aa8292c0504 100644 --- a/compiler/rustc_symbol_mangling/src/legacy.rs +++ b/compiler/rustc_symbol_mangling/src/legacy.rs @@ -332,7 +332,6 @@ impl<'tcx> Printer<'tcx> for SymbolPrinter<'tcx> { fn path_append_impl( &mut self, print_prefix: impl FnOnce(&mut Self) -> Result<(), PrintError>, - _disambiguated_data: &DisambiguatedDefPathData, self_ty: Ty<'tcx>, trait_ref: Option<ty::TraitRef<'tcx>>, ) -> Result<(), PrintError> { diff --git a/compiler/rustc_symbol_mangling/src/v0.rs b/compiler/rustc_symbol_mangling/src/v0.rs index a34d8b4436e..c2458ae814b 100644 --- a/compiler/rustc_symbol_mangling/src/v0.rs +++ b/compiler/rustc_symbol_mangling/src/v0.rs @@ -846,7 +846,6 @@ impl<'tcx> Printer<'tcx> for SymbolMangler<'tcx> { fn path_append_impl( &mut self, _: impl FnOnce(&mut Self) -> Result<(), PrintError>, - _: &DisambiguatedDefPathData, _: Ty<'tcx>, _: Option<ty::TraitRef<'tcx>>, ) -> Result<(), PrintError> { |
