You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❎ Derive and attribute macros in libstd prelude https://doc.rust-lang.org/nightly/std/prelude/v1/index.html has to be marked with #[doc(hidden)] currently because otherwise they generate dead links failing the linkchecker testing.
As a result they do not appear on the page.
What is worse, due to #[doc(hidden)] some traits with names matching derives (e.g. Default) are also not documented at that location.
NOTE: Some cases below assume #63056 has landed.
❎ https://doc.rust-lang.org/nightly/core/default/index.html doesn't contain the derive macro
Default.✔️ Compare with the https://doc.rust-lang.org/nightly/std/fmt/index.html page which contains the derive macro
Debugbecause it's introduced through a reexport rather than directly.❎ Some built-in macros not available through the libcore root are documented in the root instead (e.g. derives) - https://doc.rust-lang.org/nightly/core/index.html.
✔️ libcore prelude is documented correctly https://doc.rust-lang.org/nightly/core/prelude/v1/index.html
❎ https://doc.rust-lang.org/nightly/std/default/trait.Default.html doesn't contain the derive macro
Default.❎ Note that https://doc.rust-lang.org/nightly/std/fmt/index.html doesn't contain the derive macro
Debugas well.❎ Derive and attribute macros in libstd prelude https://doc.rust-lang.org/nightly/std/prelude/v1/index.html has to be marked with
#[doc(hidden)]currently because otherwise they generate dead links failing thelinkcheckertesting.As a result they do not appear on the page.
What is worse, due to
#[doc(hidden)]some traits with names matching derives (e.g.Default) are also not documented at that location.