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/primitive/primitive-generic-impl.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/primitive/primitive-generic-impl.rs')
| -rw-r--r-- | tests/rustdoc/primitive/primitive-generic-impl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/primitive/primitive-generic-impl.rs b/tests/rustdoc/primitive/primitive-generic-impl.rs index 2da8ae6ff38..558336d7316 100644 --- a/tests/rustdoc/primitive/primitive-generic-impl.rs +++ b/tests/rustdoc/primitive/primitive-generic-impl.rs @@ -1,7 +1,7 @@ #![feature(rustc_attrs)] #![crate_name = "foo"] -// @has foo/primitive.i32.html '//*[@id="impl-ToString-for-i32"]//h3[@class="code-header"]' 'impl<T> ToString for T' +// @has foo/primitive.i32.html '//*[@id="impl-ToString-for-T"]//h3[@class="code-header"]' 'impl<T> ToString for T' #[rustc_doc_primitive = "i32"] /// Some useless docs, wouhou! |
