Skip to content

Commit 5f47c7f

Browse files
committed
Fix htmldocck naming
After renaming the structs and enums the htmldocck strings still contained the old names. This lead to test failure. These htmldocck tests have been updated to use the proper names of the rust structs and traits.
1 parent 1df13c0 commit 5f47c7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/rustdoc/issue-46380-2.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010

1111
pub trait PublicTrait<T> {}
1212

13-
// @has issue_46380_2/struct.Public.html
13+
// @has issue_46380_2/struct.PublicStruct.html
1414
pub struct PublicStruct;
1515

16-
// @!has - '//*[@class="impl"]' 'impl Add<Private> for Public'
16+
// @!has - '//*[@class="impl"]' 'impl PublicTrait<PrivateStruct> for PublicStruct'
1717
impl PublicTrait<PrivateStruct> for PublicStruct {}
1818

1919
struct PrivateStruct;

0 commit comments

Comments
 (0)