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
I expected to see this happen:
In the Cargo doc rendering of the prelude module vec! should be a reexport of crate::vec, as it is, if doc hidden is not set
Instead, this happened: vec! is inlined in the prelude module
Meta
rustc --version --verbose:
rustc 1.66.1 (90743e729 2023-01-10)
This sounds similar to #59368 but is slightly different, as the module of the macro is hidden, and not the macro.
The text was updated successfully, but these errors were encountered:
This shows exactly where the items are from, previously the items from
macros, alloc and core were shown as a declaration from the kernel crate,
this shows the correct path.
Link: rust-lang/rust#106713
Signed-off-by: Finn Behrens <fin@nyantec.com>
Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
[Reworded to add Link, fixed two typos and comment style]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
This shows exactly where the items are from, previously the items from
macros, alloc and core were shown as a declaration from the kernel crate,
this shows the correct path.
Link: rust-lang/rust#106713
Signed-off-by: Finn Behrens <fin@nyantec.com>
Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
[Reworded to add Link, fixed two typos and comment style]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
I tried this code:
I expected to see this happen:
In the Cargo doc rendering of the prelude module
vec!
should be a reexport ofcrate::vec
, as it is, if doc hidden is not setInstead, this happened:
vec!
is inlined in the prelude moduleMeta
rustc --version --verbose
:This sounds similar to #59368 but is slightly different, as the module of the macro is hidden, and not the macro.
The text was updated successfully, but these errors were encountered: