]> git.lizzy.rs Git - rust.git/blobdiff - tests/rustdoc/const-fn.rs
Rollup merge of #106978 - mejrs:mir_build3, r=davidtwco
[rust.git] / tests / rustdoc / const-fn.rs
index 28eba849ace072df369e2abdccd1556b1da4fec9..4366ad4d0adaca435f5cf5ee8df2b307673e8a37 100644 (file)
@@ -1,7 +1,7 @@
 #![crate_name = "foo"]
 
 // @has foo/fn.bar.html
-// @has - '//*[@class="rust fn"]' 'pub const fn bar() -> '
+// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'pub const fn bar() -> '
 /// foo
 pub const fn bar() -> usize {
     2