X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=tests%2Frustdoc%2Fconst-generics%2Ftype-alias.rs;h=4b93e72d27370ecfd3ce8dc5cc886cb40c914beb;hb=a64ef7d07d0411315be85a646586cb85eeb9c136;hp=72473a112440ce28414f01b479f18dc3e4a789db;hpb=159ba8a92c9e2fa4121f106176309521f4af87e9;p=rust.git diff --git a/tests/rustdoc/const-generics/type-alias.rs b/tests/rustdoc/const-generics/type-alias.rs index 72473a11244..4b93e72d273 100644 --- a/tests/rustdoc/const-generics/type-alias.rs +++ b/tests/rustdoc/const-generics/type-alias.rs @@ -1,4 +1,4 @@ #![crate_name = "foo"] -// @has foo/type.CellIndex.html '//div[@class="item-decl"]/pre[@class="rust"]' 'type CellIndex = [i64; D];' +// @has foo/type.CellIndex.html '//pre[@class="rust item-decl"]' 'type CellIndex = [i64; D];' pub type CellIndex = [i64; D];