diff options
| author | Michael Goulet <michael@errs.io> | 2023-04-04 09:27:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-04 09:27:46 -0700 |
| commit | 72e535ea992b7a1d831f9cd634090ab9cc35b9b7 (patch) | |
| tree | 404910f90c02ad61182b37a9d4ff4d92029ec188 /compiler/rustc_query_impl/src | |
| parent | a5c395ed947daaf5582296188f06171ff12a9240 (diff) | |
| parent | 6567bc9a4778d44cb46b7732aec6452358c62312 (diff) | |
| download | rust-72e535ea992b7a1d831f9cd634090ab9cc35b9b7.tar.gz rust-72e535ea992b7a1d831f9cd634090ab9cc35b9b7.zip | |
Rollup merge of #109919 - fmease:rustdoc-fix-issue-109488, r=notriddle
rustdoc: escape GAT args in more cases Fixes #109488. Previously we printed the *un*escaped form of GAT arguments not only when `f.alternate()` was true but *also* when we failed to compute the URL of the trait associated with the type projection, i.e. when `href(…)` returned an `Err(_)`. In this PR the argument printing logic is entirely separate from the link resolution code above as it should be. Further, we now only try to compute the URL if the HTML format was requested with `!f.alternate()`. Before, we would sometimes compute the `href` only to throw it away later.
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions
