Skip to content

Commit 095b5fa

Browse files
committed
bless rustdoc tests
1 parent bfd3501 commit 095b5fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/rustdoc/normalize-assoc-item.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ impl<'a> Lifetimes<'a> for usize {
6363
type Y = &'a isize;
6464
}
6565

66-
// @has 'normalize_assoc_item/fn.g.html' '//pre[@class="rust item-decl"]' "pub fn g() -> &isize"
66+
// @has 'normalize_assoc_item/fn.g.html' '//pre[@class="rust item-decl"]' "pub fn g() -> &'static isize"
6767
pub fn g() -> <usize as Lifetimes<'static>>::Y {
6868
&0
6969
}
7070

71-
// @has 'normalize_assoc_item/constant.A.html' '//pre[@class="rust item-decl"]' "pub const A: &isize"
71+
// @has 'normalize_assoc_item/constant.A.html' '//pre[@class="rust item-decl"]' "pub const A: &'static isize"
7272
pub const A: <usize as Lifetimes<'static>>::Y = &0;
7373

7474
// test cross-crate re-exports

0 commit comments

Comments
 (0)