]> git.lizzy.rs Git - rust.git/blobdiff - tests/rustdoc/assoc-item-cast.rs
Rollup merge of #106148 - chenyukang:yukang/fix-105061-unused, r=lcnr
[rust.git] / tests / rustdoc / assoc-item-cast.rs
index a409d64131afdfa96de35c418376f41569be6738..ab9702a24f469834a8fba8881cd660977831b744 100644 (file)
@@ -10,5 +10,5 @@ pub trait AsExpression<T> {
 }
 
 // @has foo/type.AsExprOf.html
-// @has - '//pre[@class="rust typedef"]' 'type AsExprOf<Item, Type> = <Item as AsExpression<Type>>::Expression;'
+// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'type AsExprOf<Item, Type> = <Item as AsExpression<Type>>::Expression;'
 pub type AsExprOf<Item, Type> = <Item as AsExpression<Type>>::Expression;