about summary refs log tree commit diff
path: root/tests/rustdoc
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-10-06 23:31:16 -0700
committerMichael Howell <michael@notriddle.com>2023-10-22 16:51:32 -0700
commit46fdeb24fd16156f73d95272b48604ab967c81db (patch)
tree1c572f3b512d0a2dac7be093c567c695c4430558 /tests/rustdoc
parent62c67a6438aac23f7c757322be880ca45f2b6b63 (diff)
downloadrust-46fdeb24fd16156f73d95272b48604ab967c81db.tar.gz
rust-46fdeb24fd16156f73d95272b48604ab967c81db.zip
rustdoc: make JS trait impls act more like HTML
Diffstat (limited to 'tests/rustdoc')
-rw-r--r--tests/rustdoc/type-alias/deref-32077.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/type-alias/deref-32077.rs b/tests/rustdoc/type-alias/deref-32077.rs
index 740ed4cec70..186ebb1a632 100644
--- a/tests/rustdoc/type-alias/deref-32077.rs
+++ b/tests/rustdoc/type-alias/deref-32077.rs
@@ -22,7 +22,7 @@ impl Bar for GenericStruct<u32> {}
 // We check that "Aliased type" is also present as a title in the sidebar.
 // @has - '//*[@class="sidebar-elems"]//h3/a[@href="#aliased-type"]' 'Aliased type'
 // We check that we have the implementation of the type alias itself.
-// @has - '//*[@id="impl-TypedefStruct"]/h3' 'impl TypedefStruct'
+// @has - '//*[@id="impl-GenericStruct%3Cu8%3E"]/h3' 'impl TypedefStruct'
 // @has - '//*[@id="method.on_alias"]/h4' 'pub fn on_alias()'
 // This trait implementation doesn't match the type alias parameters so shouldn't appear in docs.
 // @!has - '//h3' 'impl Bar for GenericStruct<u32> {}'