]> git.lizzy.rs Git - rust.git/blobdiff - tests/rustdoc/struct-arg-pattern.rs
Rollup merge of #106753 - compiler-errors:rpitit-not-suggestable, r=spastorino
[rust.git] / tests / rustdoc / struct-arg-pattern.rs
index 3c0369e3d3413e221f775561555dd3e37b9d2c28..3bfb43a0bef2c7fed5758002ec0bf30484a185ce 100644 (file)
@@ -4,7 +4,7 @@ struct BodyId {
     hir_id: usize,
 }
 
-// @has 'foo/fn.body_owner.html' '//*[@class="rust fn"]' 'pub fn body_owner(_: BodyId)'
+// @has 'foo/fn.body_owner.html' '//div[@class="item-decl"]/pre[@class="rust"]' 'pub fn body_owner(_: BodyId)'
 pub fn body_owner(BodyId { hir_id }: BodyId) {
     // ...
 }