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> {
11
11
inner : T ,
12
12
}
13
13
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>'
15
15
impl Add for Simd < u8 , 16 > {
16
16
type Output = Self ;
17
17
Original file line number Diff line number Diff line change 1
1
// @has issue_33054/impls/struct.Foo.html
2
2
// @has - '//code' 'impl Foo'
3
3
// @has - '//code' 'impl Bar for Foo'
4
- // @count - '//*[@id="implementations-list"]/*[@class="impl"]' 1
4
+ // @count - '//*[@id="trait- implementations-list"]/*[@class="impl"]' 1
5
5
// @count - '//*[@id="main"]/*[@class="impl"]' 1
6
6
// @has issue_33054/impls/bar/trait.Bar.html
7
7
// @has - '//code' 'impl Bar for Foo'
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ mod inner {
7
7
pub trait Blah { }
8
8
9
9
// @count issue_21474/struct.What.html \
10
- // '//*[@id="implementations-list"]/*[@class="impl"]' 1
10
+ // '//*[@id="trait- implementations-list"]/*[@class="impl"]' 1
11
11
pub struct What ;
Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ pub trait Bar<T, U> {}
4
4
5
5
// @has 'foo/struct.Foo1.html'
6
6
pub struct Foo1 ;
7
- // @count - '//*[@id="implementations-list"]/*[@class="impl"]' 1
7
+ // @count - '//*[@id="trait- implementations-list"]/*[@class="impl"]' 1
8
8
// @has - '//*[@class="impl"]' "impl Bar<Foo1, &'static Foo1> for Foo1"
9
9
impl Bar < Foo1 , & ' static Foo1 > for Foo1 { }
10
10
11
11
// @has 'foo/struct.Foo2.html'
12
12
pub struct Foo2 ;
13
- // @count - '//*[@id="implementations-list"]/*[@class="impl"]' 1
13
+ // @count - '//*[@id="trait- implementations-list"]/*[@class="impl"]' 1
14
14
// @has - '//*[@class="impl"]' "impl Bar<&'static Foo2, Foo2> for u8"
15
15
impl Bar < & ' static Foo2 , Foo2 > for u8 { }
Original file line number Diff line number Diff line change 1
1
#![ feature( negative_impls) ]
2
2
3
3
// @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"
6
6
pub struct A ( ) ;
7
7
8
8
impl !Send for A { }
Original file line number Diff line number Diff line change 4
4
pub struct Foo ;
5
5
6
6
// @has foo/struct.Foo.html
7
- // @has - '//*[@class="sidebar-title"][@href="#implementations"]' 'Trait Implementations'
7
+ // @has - '//*[@class="sidebar-title"][@href="#trait- implementations"]' 'Trait Implementations'
8
8
// @has - '//*[@class="sidebar-links"]/a' '!Sync'
9
9
impl !Sync for Foo { }
Original file line number Diff line number Diff line change 2
2
// @has - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]//code' 'impl<T> Sync for \
3
3
// Foo<T> where T: Sync'
4
4
//
5
- // @has - '//*[@id="implementations-list"]/*[@class="impl"]//code' \
5
+ // @has - '//*[@id="trait- implementations-list"]/*[@class="impl"]//code' \
6
6
// 'impl<T> Send for Foo<T>'
7
7
//
8
- // @count - '//*[@id="implementations-list"]/*[@class="impl"]' 1
8
+ // @count - '//*[@id="trait- implementations-list"]/*[@class="impl"]' 1
9
9
// @count - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]' 4
10
10
pub struct Foo < T > {
11
11
field : T ,
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ impl MyStruct {
13
13
// @has - '//*[@class="impl"]//code' 'impl MyTrait for MyAlias'
14
14
// @has - 'Alias docstring'
15
15
// @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'
18
18
/// Alias docstring
19
19
pub type MyAlias = MyStruct ;
20
20
You can’t perform that action at this time.
0 commit comments