This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ pub struct Simd<T, const WIDTH: usize> {
1111 inner : T ,
1212}
1313
14- // @has foo/struct.Simd.html '//div[@id="implementations-list"]/h3/code' 'impl Add<Simd<u8, 16usize>> for Simd<u8, 16>'
14+ // @has foo/struct.Simd.html '//div[@id="trait- implementations-list"]/h3/code' 'impl Add<Simd<u8, 16usize>> for Simd<u8, 16>'
1515impl Add for Simd < u8 , 16 > {
1616 type Output = Self ;
1717
Original file line number Diff line number Diff line change 11// @has issue_33054/impls/struct.Foo.html
22// @has - '//code' 'impl Foo'
33// @has - '//code' 'impl Bar for Foo'
4- // @count - '//*[@id="implementations-list"]/*[@class="impl"]' 1
4+ // @count - '//*[@id="trait- implementations-list"]/*[@class="impl"]' 1
55// @count - '//*[@id="main"]/*[@class="impl"]' 1
66// @has issue_33054/impls/bar/trait.Bar.html
77// @has - '//code' 'impl Bar for Foo'
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ mod inner {
77pub trait Blah { }
88
99// @count issue_21474/struct.What.html \
10- // '//*[@id="implementations-list"]/*[@class="impl"]' 1
10+ // '//*[@id="trait- implementations-list"]/*[@class="impl"]' 1
1111pub struct What ;
Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ pub trait Bar<T, U> {}
44
55// @has 'foo/struct.Foo1.html'
66pub struct Foo1 ;
7- // @count - '//*[@id="implementations-list"]/*[@class="impl"]' 1
7+ // @count - '//*[@id="trait- implementations-list"]/*[@class="impl"]' 1
88// @has - '//*[@class="impl"]' "impl Bar<Foo1, &'static Foo1> for Foo1"
99impl Bar < Foo1 , & ' static Foo1 > for Foo1 { }
1010
1111// @has 'foo/struct.Foo2.html'
1212pub struct Foo2 ;
13- // @count - '//*[@id="implementations-list"]/*[@class="impl"]' 1
13+ // @count - '//*[@id="trait- implementations-list"]/*[@class="impl"]' 1
1414// @has - '//*[@class="impl"]' "impl Bar<&'static Foo2, Foo2> for u8"
1515impl Bar < & ' static Foo2 , Foo2 > for u8 { }
Original file line number Diff line number Diff line change 11#![ feature( negative_impls) ]
22
33// @has issue_55321/struct.A.html
4- // @has - '//*[@id="implementations-list"]/*[@class="impl"]//code' "impl !Send for A"
5- // @has - '//*[@id="implementations-list"]/*[@class="impl"]//code' "impl !Sync for A"
4+ // @has - '//*[@id="trait- implementations-list"]/*[@class="impl"]//code' "impl !Send for A"
5+ // @has - '//*[@id="trait- implementations-list"]/*[@class="impl"]//code' "impl !Sync for A"
66pub struct A ( ) ;
77
88impl !Send for A { }
Original file line number Diff line number Diff line change 44pub struct Foo ;
55
66// @has foo/struct.Foo.html
7- // @has - '//*[@class="sidebar-title"][@href="#implementations"]' 'Trait Implementations'
7+ // @has - '//*[@class="sidebar-title"][@href="#trait- implementations"]' 'Trait Implementations'
88// @has - '//*[@class="sidebar-links"]/a' '!Sync'
99impl !Sync for Foo { }
Original file line number Diff line number Diff line change 22// @has - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]//code' 'impl<T> Sync for \
33// Foo<T> where T: Sync'
44//
5- // @has - '//*[@id="implementations-list"]/*[@class="impl"]//code' \
5+ // @has - '//*[@id="trait- implementations-list"]/*[@class="impl"]//code' \
66// 'impl<T> Send for Foo<T>'
77//
8- // @count - '//*[@id="implementations-list"]/*[@class="impl"]' 1
8+ // @count - '//*[@id="trait- implementations-list"]/*[@class="impl"]' 1
99// @count - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]' 4
1010pub struct Foo < T > {
1111 field : T ,
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ impl MyStruct {
1313// @has - '//*[@class="impl"]//code' 'impl MyTrait for MyAlias'
1414// @has - 'Alias docstring'
1515// @has - '//*[@class="sidebar"]//p[@class="location"]' 'Type Definition MyAlias'
16- // @has - '//*[@class="sidebar"]//a[@href="#methods "]' 'Methods'
17- // @has - '//*[@class="sidebar"]//a[@href="#implementations"]' 'Trait Implementations'
16+ // @has - '//*[@class="sidebar"]//a[@href="#implementations "]' 'Methods'
17+ // @has - '//*[@class="sidebar"]//a[@href="#trait- implementations"]' 'Trait Implementations'
1818/// Alias docstring
1919pub type MyAlias = MyStruct ;
2020
You can’t perform that action at this time.
0 commit comments