about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-05-03 00:32:43 +0200
committerGitHub <noreply@github.com>2021-05-03 00:32:43 +0200
commit37ce3321ebcc901d15583b5b0266d945130e123b (patch)
tree22d4ee52b39d4f4bd846e9c056acc26ae5e8728a /library/std/src/sys/unix/stack_overflow.rs
parent0133af504b804ecaa6223bc38730020848db5982 (diff)
parent40ffa942444b84336b0d03f3004d7eb9ca36f8ad (diff)
downloadrust-37ce3321ebcc901d15583b5b0266d945130e123b.tar.gz
rust-37ce3321ebcc901d15583b5b0266d945130e123b.zip
Rollup merge of #84811 - scottmcm:rustdoc-trait-alias-fix, r=jyn514
RustDoc: Fix bounds linking trait.Foo instead of traitalias.Foo

Fixes #84782

The code was assuming `Trait` when adding bounds to the cache, so add a check on the DefId to see what its kind really is.

r? `@jyn514`

Before:
![image](https://user-images.githubusercontent.com/18526288/116775611-6a751e80-aa53-11eb-84d0-ed6b7782be3c.png)

After:
![image](https://user-images.githubusercontent.com/18526288/116802227-d19cdc80-ab00-11eb-8133-7b34dd750da2.png)
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions