diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2021-08-24 10:33:41 -0700 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2021-09-11 11:24:53 -0700 |
| commit | 6a84d347844afc5b228a67ac8bb147f3d0e40ddb (patch) | |
| tree | 89569d7cdc35d6ab52e5f9e308f40ca5aff00268 /src/test/rustdoc | |
| parent | 0bb1c285af51def917dd17ec1b1815cb34d4b208 (diff) | |
| download | rust-6a84d347844afc5b228a67ac8bb147f3d0e40ddb.tar.gz rust-6a84d347844afc5b228a67ac8bb147f3d0e40ddb.zip | |
Create a valid `Res` in `external_path()`
The order of the `where` bounds on auto trait impls changed because rustdoc currently sorts auto trait `where` bounds based on the `Debug` output for the bound. Now that the bounds have an actual `Res`, they are being unintentionally sorted by their `DefId` rather than their path. So, I had to update a test for the change in ordering of the rendered bounds.
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/synthetic_auto/no-redundancy.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc/synthetic_auto/no-redundancy.rs b/src/test/rustdoc/synthetic_auto/no-redundancy.rs index f727c9a47f2..16ab876e829 100644 --- a/src/test/rustdoc/synthetic_auto/no-redundancy.rs +++ b/src/test/rustdoc/synthetic_auto/no-redundancy.rs @@ -10,7 +10,7 @@ where // @has no_redundancy/struct.Outer.html // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \ -// "impl<T> Send for Outer<T> where T: Copy + Send" +// "impl<T> Send for Outer<T> where T: Send + Copy" pub struct Outer<T> { inner_field: Inner<T>, } |
