about summary refs log tree commit diff
path: root/tests/rustdoc/inherent-projections.rs
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2025-02-01 14:54:02 -0800
committerDavid Tolnay <dtolnay@gmail.com>2025-02-01 15:04:19 -0800
commitb866debf3cdbc30f71b0800684236213ebbb2d8c (patch)
treefabb1a5f4726fc6e6623972972a89272633a58b0 /tests/rustdoc/inherent-projections.rs
parent5f447a1ca6516fefe33fa0351aaf2c27b2911d98 (diff)
downloadrust-b866debf3cdbc30f71b0800684236213ebbb2d8c.tar.gz
rust-b866debf3cdbc30f71b0800684236213ebbb2d8c.zip
Omit argument names from function pointers that do not have argument names
Diffstat (limited to 'tests/rustdoc/inherent-projections.rs')
-rw-r--r--tests/rustdoc/inherent-projections.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/inherent-projections.rs b/tests/rustdoc/inherent-projections.rs
index 4fc769f70f5..ced4db9a490 100644
--- a/tests/rustdoc/inherent-projections.rs
+++ b/tests/rustdoc/inherent-projections.rs
@@ -13,7 +13,7 @@ impl Owner {
 }
 
 // Make sure we handle bound vars correctly.
-//@ has 'inherent_projections/fn.user.html' '//pre[@class="rust item-decl"]' "user(_: for<'a> fn(_: Carrier<'a>::Focus))"
+//@ has 'inherent_projections/fn.user.html' '//pre[@class="rust item-decl"]' "user(_: for<'a> fn(Carrier<'a>::Focus))"
 pub fn user(_: for<'a> fn(Carrier<'a>::Focus)) {}
 
 pub struct Carrier<'a>(&'a ());