File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ impl Foo {
7272pub struct Bar ;
7373
7474impl Bar {
75- // Do not show non-const stabilities that are the same as the enclosing item.
76- // @matches 'foo/struct.Bar.html' '//span[@class="since"]' '^ const: 1.2.0$ '
75+ // Show non-const stabilities that are the same as the enclosing item.
76+ // @has 'foo/struct.Bar.html' '//span[@class="since"]' '1.0.0 ( const: 1.2.0) '
7777 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
7878 #[ rustc_const_stable( feature = "const2" , since = "1.2.0" ) ]
7979 pub const fn stable_impl ( ) -> u32 { 42 }
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ pub struct Foo {
2626
2727// @has 'foo/struct.Foo.html'
2828// @has - '//*[@id="method.len"]' 'pub fn len(&self) -> usize'
29- // @! has - '//*[@id="method.len"]//span[@class="since"]' '1.0.0'
29+ // @has - '//*[@id="method.len"]//span[@class="since"]' '1.0.0'
3030// @!has - '//*[@id="method.len"]//span[@class="since"]' '(const: 1.0.0)'
3131#[ stable( feature = "rust1" , since = "1.0.0" ) ]
3232impl std:: ops:: Deref for Foo {
Original file line number Diff line number Diff line change 22
33// This test ensures that the [src] link is present on traits items.
44
5- // @has foo/trait.Iterator.html '//*[@id="method.zip"]//a[@class="src rightside "]' "source"
5+ // @has foo/trait.Iterator.html '//*[@id="method.zip"]//a[@class="src"]' "source"
66pub use std:: iter:: Iterator ;
Original file line number Diff line number Diff line change @@ -16,6 +16,6 @@ pub struct Foo;
1616#[ stable( feature = "foobar" , since = "4.4.4" ) ]
1717impl Bar for Foo { }
1818
19- // @! has foo/trait.Baz.html '//div[@id="implementors-list"]//span[@class="since"]' '3.3.3'
19+ // @has foo/trait.Baz.html '//div[@id="implementors-list"]//span[@class="since"]' '3.3.3'
2020#[ stable( feature = "foobaz" , since = "3.3.3" ) ]
2121impl Baz for Foo { }
You can’t perform that action at this time.
0 commit comments