about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-05-01 12:21:04 +0000
committerbors <bors@rust-lang.org>2019-05-01 12:21:04 +0000
commit6cc24f26036b28fb3366de86efe3da6c4464057a (patch)
treee551218300e5ff738313096ac47bc9c377394c7b /src/libstd/sys/unix/stack_overflow.rs
parent47e0803d5c2ad5952220f2c260d7e12921c1d3fe (diff)
parentbe9f43e0d4f365b9c1fa895946404693b624236d (diff)
downloadrust-6cc24f26036b28fb3366de86efe3da6c4464057a.tar.gz
rust-6cc24f26036b28fb3366de86efe3da6c4464057a.zip
Auto merge of #60137 - eddyb:rustdoc-rm-def-ctor-hax, r=petrochenkov
rustdoc: remove def_ctor hack.

~~No longer necessary since we have `describe_def`.~~

Turns out `def_ctor` was used in conjunction with abusing `tcx.type_of(def_id)` working on both type definitions and `impl`s (specifically, of builtin types), but also reimplementing a lot of the logic that `Clean` already provides on `Ty` / `ty::TraitRef`.

The first commit now does the minimal refactor to keep it working, while the second commit contains the rest of the refactor I started (parts of which I'm not sure we need to keep).
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions