rustdoc: use anonymous constant for primitives/keywords/attribute docs - #160288
rustdoc: use anonymous constant for primitives/keywords/attribute docs#160288mejrs wants to merge 1 commit into
Conversation
|
Some changes occurred in compiler/rustc_attr_parsing cc @jdonszelmann, @JonathanBrouwer Some changes occurred in compiler/rustc_passes/src/check_attr.rs cc @jdonszelmann, @JonathanBrouwer Some changes occurred in GUI tests. These commits modify Please ensure that if you've changed the output:
cc @obi1kenobi |
This comment has been minimized.
This comment has been minimized.
Should be |
Hmm, I did not pass |
|
Without |
6b28e2e to
c8a3129
Compare
Right, but I changed std to use anon consts so that should have errored . Maybe I don't quite understand how rustdoc interacts with bootstrapping. Or In just missed it before, we don't have that many private root modules in std actually. Regardless it works :) |
This comment has been minimized.
This comment has been minimized.
c8a3129 to
82a5915
Compare
This comment has been minimized.
This comment has been minimized.
82a5915 to
e94ce09
Compare
This comment has been minimized.
This comment has been minimized.
e94ce09 to
a72e4e8
Compare
For context: #t-rustdoc > hiding fake_item modules. @ 💬
r? @GuillaumeGomez
I've rendered the standard library docs and prims/kws/attrs all show up as normal.
However I could not figure out how to run some of the tests, so this may be a bit of CI-debugging for me :(