diff options
| author | Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | 2023-03-05 14:41:35 +0300 |
|---|---|---|
| committer | Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | 2023-03-05 14:41:35 +0300 |
| commit | 095b5fae1c5fb1ff2433e6c15a092e7f267415ec (patch) | |
| tree | a6f5da85d450e5cb3678bbeecfe4623b40b29c12 | |
| parent | bfd35016e41724a370828dc400e6b12e1aaf9201 (diff) | |
| download | rust-095b5fae1c5fb1ff2433e6c15a092e7f267415ec.tar.gz rust-095b5fae1c5fb1ff2433e6c15a092e7f267415ec.zip | |
bless rustdoc tests
| -rw-r--r-- | tests/rustdoc/normalize-assoc-item.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc/normalize-assoc-item.rs b/tests/rustdoc/normalize-assoc-item.rs index af7b2f955fd..c6fd5e1101e 100644 --- a/tests/rustdoc/normalize-assoc-item.rs +++ b/tests/rustdoc/normalize-assoc-item.rs @@ -63,12 +63,12 @@ impl<'a> Lifetimes<'a> for usize { type Y = &'a isize; } -// @has 'normalize_assoc_item/fn.g.html' '//pre[@class="rust item-decl"]' "pub fn g() -> &isize" +// @has 'normalize_assoc_item/fn.g.html' '//pre[@class="rust item-decl"]' "pub fn g() -> &'static isize" pub fn g() -> <usize as Lifetimes<'static>>::Y { &0 } -// @has 'normalize_assoc_item/constant.A.html' '//pre[@class="rust item-decl"]' "pub const A: &isize" +// @has 'normalize_assoc_item/constant.A.html' '//pre[@class="rust item-decl"]' "pub const A: &'static isize" pub const A: <usize as Lifetimes<'static>>::Y = &0; // test cross-crate re-exports |
