]> git.lizzy.rs Git - rust.git/blobdiff - tests/rustdoc/const-generics/generic_const_exprs.rs
Auto merge of #107778 - weihanglo:update-cargo, r=weihanglo
[rust.git] / tests / rustdoc / const-generics / generic_const_exprs.rs
index c53cf6dcd0570b4f0717ca79062cb2f35333ee74..e23b3006da6cda335b7670fd964860c5908d030f 100644 (file)
@@ -2,6 +2,6 @@
 #![feature(generic_const_exprs)]
 #![allow(incomplete_features)]
 // make sure that `ConstEvaluatable` predicates dont cause rustdoc to ICE #77647
-// @has foo/struct.Ice.html '//div[@class="item-decl"]/pre[@class="rust"]' \
+// @has foo/struct.Ice.html '//pre[@class="rust item-decl"]' \
 //      'pub struct Ice<const N: usize>;'
 pub struct Ice<const N: usize> where [(); N + 1]:;