Uh oh!
There was an error while loading. Please reload this page.
[WIP] Remove fake IDs in rustdoc - #75355
Conversation
They're confusing, cause crashes, and aren't necessary.
rust-highfive
commented
Aug 10, 2020
Some changes occurred in intra-doc-links. cc @jyn514 |
rust-highfive
commented
Aug 10, 2020
(rust_highfive has picked a reviewer for you, use r? to override) |
This code path was never taken before because all the ids were fake. So the ids would never have been seen before.
Aaron1011
commented
Aug 10, 2020
@jyn514: Fake DefIds exist to handle 'synthetic' auto trait impls, which don't have a real |
jyn514
commented
Aug 10, 2020
@Aaron1011 do you know what the |
Aaron1011
commented
Aug 10, 2020
@jyn514: |
bors
commented
Aug 15, 2020
☔ The latest upstream changes (presumably #75549) made this pull request unmergeable. Please resolve the merge conflicts. |
jyn514
commented
Sep 5, 2020
Closing this because I think it needs more design work in rustdoc (#76382), the current approach isn't going to work. |
Pass a `TyCtxt` through to `FormatRender` This is the next step after rust-lang#79957 for rust-lang#76382. Eventually I plan to use this to remove `stability`, `const_stability`, and `deprecation` from `Item`, but that needs more extensive changes (in particular, rust-lang#75355 or something like it). This has no actual changes to behavior, it's just moving types around. ccc rust-lang#80014 (comment)
They're confusing and cause crashes. Part of an ongoing effort to debug #75176.
Not sure why the tests are failing, probably I'm not understanding why fake IDs were added in the first place.