about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-08-01 19:01:32 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-08-03 19:58:59 +1000
commit2434d8cecfb228093277c1b4506ae47db1972de9 (patch)
tree33fd971c48bca5542c7dbf01151af0a9b3f696fb /compiler/rustc_lint/src
parent03dab500a2a885c3cf196d6d72695deda7da7698 (diff)
downloadrust-2434d8cecfb228093277c1b4506ae47db1972de9.tar.gz
rust-2434d8cecfb228093277c1b4506ae47db1972de9.zip
Remove unused arg from `path_append_impl`.
None of the impls use it.
Diffstat (limited to 'compiler/rustc_lint/src')
-rw-r--r--compiler/rustc_lint/src/context.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/context.rs b/compiler/rustc_lint/src/context.rs
index 7e35d4d142b..11181d10af5 100644
--- a/compiler/rustc_lint/src/context.rs
+++ b/compiler/rustc_lint/src/context.rs
@@ -803,7 +803,6 @@ impl<'tcx> LateContext<'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> {