diff options
| author | Michael Howell <michael@notriddle.com> | 2023-03-20 17:56:45 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-09-21 15:16:44 -0700 |
| commit | 3583e86674749c279e7edd96641255bbf8595de1 (patch) | |
| tree | ea75abe39d43a6ca31cf23c5a8162558c9849ae9 /tests/rustdoc/src-links-auto-impls.rs | |
| parent | 3fbfe2bca5e0227e2b9c9363558dc6a5dec54351 (diff) | |
| download | rust-3583e86674749c279e7edd96641255bbf8595de1.tar.gz rust-3583e86674749c279e7edd96641255bbf8595de1.zip | |
rustdoc: update test cases for changes to the printing style
This whole thing changes it so that the JS and the UI both use rustc's own path printing to handle the impl IDs. This results in the format changing a little bit; full paths are used in spots where they aren't strictly necessary, and the path sometimes uses generics where the old system used the trait's own name, but it shouldn't matter since the orphan rules will prevent it anyway.
Diffstat (limited to 'tests/rustdoc/src-links-auto-impls.rs')
| -rw-r--r-- | tests/rustdoc/src-links-auto-impls.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc/src-links-auto-impls.rs b/tests/rustdoc/src-links-auto-impls.rs index 1c8d1573192..08a497d4cf5 100644 --- a/tests/rustdoc/src-links-auto-impls.rs +++ b/tests/rustdoc/src-links-auto-impls.rs @@ -5,8 +5,8 @@ // @!has - '//*[@id="impl-Sized-for-Unsized"]//a[@class="src"]' 'source' // @has - '//*[@id="impl-Sync-for-Unsized"]/h3[@class="code-header"]' 'impl Sync for Unsized' // @!has - '//*[@id="impl-Sync-for-Unsized"]//a[@class="src"]' 'source' -// @has - '//*[@id="impl-Any-for-Unsized"]/h3[@class="code-header"]' 'impl<T> Any for T' -// @has - '//*[@id="impl-Any-for-Unsized"]//a[@class="src rightside"]' 'source' +// @has - '//*[@id="impl-Any-for-T"]/h3[@class="code-header"]' 'impl<T> Any for T' +// @has - '//*[@id="impl-Any-for-T"]//a[@class="src rightside"]' 'source' pub struct Unsized { data: [u8], } |
