From 76a3b609d0b93c5d8da5e4e3db37bd03e5cb1c30 Mon Sep 17 00:00:00 2001 From: bors Date: Sun, 25 Jul 2021 21:41:57 +0000 Subject: Rustdoc accessibility: use real headers for doc items Part of #87059 Partially reverts #84703 Preview at: https://notriddle.com/notriddle-rustdoc-test/real-headers/std/index.html --- src/test/rustdoc/synthetic_auto/overflow.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/rustdoc/synthetic_auto/overflow.rs') diff --git a/src/test/rustdoc/synthetic_auto/overflow.rs b/src/test/rustdoc/synthetic_auto/overflow.rs index 546b3e07793..c132ab6fb1b 100644 --- a/src/test/rustdoc/synthetic_auto/overflow.rs +++ b/src/test/rustdoc/synthetic_auto/overflow.rs @@ -21,7 +21,7 @@ enum TyData { struct VariableKind(I::InternedType); // @has overflow/struct.BoundVarsCollector.html -// @has - '//code' "impl<'tcx> Send for BoundVarsCollector<'tcx>" +// @has - '//h3[@class="code-header in-band"]' "impl<'tcx> Send for BoundVarsCollector<'tcx>" pub struct BoundVarsCollector<'tcx> { val: VariableKind> } -- cgit 1.4.1-3-g733a5