diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-11-29 12:10:16 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-11-29 12:10:16 +0100 |
| commit | a333572970ed62701fd57f902d57a0a0aca0dd86 (patch) | |
| tree | 87e1203a12ffcfce482631a97009c9b2e1100791 /tests/rustdoc/deref | |
| parent | 00779af94e2b2260047f1598cf7196ecf01447d0 (diff) | |
| download | rust-a333572970ed62701fd57f902d57a0a0aca0dd86.tar.gz rust-a333572970ed62701fd57f902d57a0a0aca0dd86.zip | |
Update rustdoc tests for stability display
Diffstat (limited to 'tests/rustdoc/deref')
| -rw-r--r-- | tests/rustdoc/deref/deref-const-fn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/deref/deref-const-fn.rs b/tests/rustdoc/deref/deref-const-fn.rs index 8ecca6d12d2..85c2f2934e0 100644 --- a/tests/rustdoc/deref/deref-const-fn.rs +++ b/tests/rustdoc/deref/deref-const-fn.rs @@ -26,7 +26,7 @@ pub struct Foo { // @has 'foo/struct.Foo.html' // @has - '//*[@id="method.len"]' 'pub fn len(&self) -> usize' -// @!has - '//*[@id="method.len"]//span[@class="since"]' '1.0.0' +// @has - '//*[@id="method.len"]//span[@class="since"]' '1.0.0' // @!has - '//*[@id="method.len"]//span[@class="since"]' '(const: 1.0.0)' #[stable(feature = "rust1", since = "1.0.0")] impl std::ops::Deref for Foo { |
