rust/tests/rustdoc
bors aaa9bb9e7b Auto merge of #106952 - petrochenkov:docglob, r=notriddle,GuillaumeGomez
rustdoc: Fix glob import inlining

Filter away names that are not actually imported by the glob, e.g. because they are shadowed by something else.

Fixes the issue found in https://github.com/rust-lang/rust/pull/94857#issuecomment-1382912356.
2023-01-18 03:54:04 +00:00
..
auxiliary rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
const-generics rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
duplicate_impls
generic-associated-types
inline_cross Auto merge of #106952 - petrochenkov:docglob, r=notriddle,GuillaumeGomez 2023-01-18 03:54:04 +00:00
inline_local
intra-doc
intra-doc-crate
primitive
src-links
synthetic_auto
test_option_check
all.rs
anchors.no_const_anchor2.html
anchors.no_const_anchor.html
anchors.no_method_anchor.html
anchors.no_trait_method_anchor.html
anchors.no_tymethod_anchor.html
anchors.no_type_anchor2.html
anchors.no_type_anchor.html
anchors.rs
anonymous-lifetime.rs
anonymous-reexport.rs
array-links.link_box_generic.html
array-links.link_box_u32.html
array-links.link_slice_generic.html
array-links.link_slice_u32.html
array-links.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
asm-foreign2.rs
asm-foreign.rs
assoc-consts-version.rs
assoc-consts.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
assoc-item-cast.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
assoc-types.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
associated-consts.rs
async-fn.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
async-move-doctest.rs
async-trait-sig.rs
async-trait.rs
attribute-rendering.rs
attributes.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
auto_aliases.rs
auto-impl-for-trait.rs
auto-impl-primitive.rs
auto-trait-not-send.rs
auto-traits.rs
bad-codeblock-syntax.rs
blanket-reexport-item.rs
bounds-in-multiple-parts.rs
cap-lints.rs
cfg_doc_reexport.rs
cfg-doctest.rs
check-source-code-urls-to-def-std.rs
check-source-code-urls-to-def.rs
check-styled-link.rs
check.rs
codeblock-title.rs
comment-in-doctest.rs
const-display.rs
const-doc.rs
const-fn.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
const-intrinsic.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
const-underscore.rs
const-value-display.rs
const.rs
constructor-imports.rs
crate-version-escape.rs
crate-version.rs
cross-crate-hidden-assoc-trait-items.rs
cross-crate-hidden-impl-parameter.rs
cross-crate-links.rs
cross-crate-primitive-doc.rs
decl_macro_priv.rs
decl_macro.rs
decl-trailing-whitespace.declaration.html
decl-trailing-whitespace.rs
deep-structures.rs
default-impl.rs
default-theme.rs
default-trait-method-link.rs
default-trait-method.rs
deprecated-future-staged-api.rs
deprecated-future.rs
deprecated-impls.rs
deprecated.rs
deref-const-fn.rs
deref-mut-methods.rs
deref-recursive-pathbuf.rs
deref-recursive.rs
deref-slice-core.rs
deref-to-primitive.rs
deref-typedef.rs
description_default.rs
description.rs
doc_auto_cfg_nested_impl.rs
doc-assoc-item.rs
doc-auto-cfg.rs
doc-cfg-hide.rs
doc-cfg-implicit-gate.rs
doc-cfg-implicit.rs
doc-cfg-simplification.rs
doc-cfg-target-feature.rs
doc-cfg-traits.rs
doc-cfg.rs
doc-notable_trait_box_is_not_an_iterator.rs
doc-notable_trait-mut_t_is_not_an_iterator.rs
doc-notable_trait-mut_t_is_not_ref_t.rs
doc-notable_trait-slice.bare_fn_matches.html rustdoc: remove docblock class from notable trait popover 2023-01-13 15:42:29 -07:00
doc-notable_trait-slice.rs
doc-notable_trait.bare-fn.html rustdoc: remove docblock class from notable trait popover 2023-01-13 15:42:29 -07:00
doc-notable_trait.rs
doc-notable_trait.some-struct-new.html rustdoc: remove docblock class from notable trait popover 2023-01-13 15:42:29 -07:00
doc-notable_trait.wrap-me.html rustdoc: remove docblock class from notable trait popover 2023-01-13 15:42:29 -07:00
doc-proc-macro.rs
doctest-manual-crate-name.rs
double-quote-escape.rs
duplicate-cfg.rs
duplicate-flags.rs
duplicated_impl.rs
early-unindent.rs
edition-doctest.rs
edition-flag.rs
elided-lifetime.rs
empty-doc-comment.rs
empty-impl-block-private-with-doc.rs
empty-impl-block-private.rs
empty-impl-block.rs
empty-impls.rs
empty-mod-private.rs
empty-mod-public.rs
empty-section.rs
ensure-src-link.rs
enum-headings.rs
escape-deref-methods.rs
extern-default-method.no_href_on_anchor.html
extern-default-method.rs
extern-html-root-url-precedence.rs
extern-html-root-url.rs
extern-impl-trait.rs
extern-impl.rs
extern-links.rs
extern-method.rs
external-cross.rs
external-doc.rs
external-macro-src.rs
feature-gate-doc_auto_cfg.rs
ffi.rs
fn-bound.rs
fn-pointer-arg-name.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
fn-sidebar.rs
fn-type.rs
force-target-feature.rs
foreigntype-reexport.rs
foreigntype.rs
generic_const_exprs.rs
generic-impl.rs
glob-shadowing-const.rs
glob-shadowing.rs
hidden-impls.rs
hidden-line.rs
hidden-methods.rs
hidden-trait-methods-with-document-hidden-items.rs
hidden-trait-methods.rs
hidden-trait-struct-impls.rs
hide-complex-unevaluated-const-arguments.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
hide-complex-unevaluated-consts.rs
hide-unstable-trait.rs
higher-ranked-trait-bounds.rs
impl-box.rs
impl-disambiguation.rs
impl-everywhere.rs
impl-in-const-block.rs
impl-parts-crosscrate.rs
impl-parts.rs
impl-trait-alias.rs
implementor-stable-version.rs
impossible-default.rs
include_str_cut.rs
index-page.rs rustdoc: remove unnecessary DOM class h1.fqn 2023-01-13 10:09:25 -07:00
infinite-redirection.rs
inline-default-methods.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
internal.rs
invalid.crate.name.rs
issue-12834.rs
issue-13698.rs
issue-15169.rs
issue-15318-2.rs
issue-15318-3.rs
issue-15318.rs
issue-15347.rs
issue-16019.rs
issue-16265-1.rs
issue-16265-2.rs
issue-17476.rs
issue-18199.rs
issue-19181.rs
issue-19190-2.rs
issue-19190-3.rs
issue-19190.rs
issue-20175.rs
issue-20646.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
issue-20727-2.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
issue-20727-3.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
issue-20727-4.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
issue-20727.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
issue-21092.rs
issue-21474.rs
issue-21801.rs
issue-22025.rs
issue-22038.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
issue-23106.rs
issue-23207.rs
issue-23511.rs
issue-23744.rs
issue-23812.rs
issue-25001.rs
issue-25944.rs
issue-26606.rs
issue-26995.rs
issue-27104.rs
issue-27362.rs
issue-27759.rs
issue-27862.rs
issue-28478.rs
issue-28927.rs
issue-29449.rs
issue-29503.rs
issue-29584.rs
issue-30109.rs
issue-30252.rs
issue-30366.rs
issue-31808.rs
issue-31899.rs
issue-32374.rs
issue-32395.rs
issue-32556.rs
issue-32890.rs
issue-33069.rs
issue-33178-1.rs
issue-33178.rs
issue-33302.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
issue-33592.rs
issue-34025.rs
issue-34274.rs
issue-34423.rs
issue-34473.rs
issue-34928.rs
issue-35169-2.rs
issue-35169.rs
issue-35488.rs
issue-36031.rs
issue-38129.rs
issue-38219.rs
issue-40936.rs
issue-41783.codeblock.html
issue-41783.rs rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle 2023-01-13 12:38:03 -07:00
issue-42760.rs
issue-43153.rs
issue-43701.rs
issue-43869.rs
issue-43893.rs
issue-45584.rs
issue-46271.rs
issue-46377.rs
issue-46380-2.rs
issue-46727.rs
issue-46766.rs
issue-46767.rs
issue-46976.rs
issue-47038.rs
issue-47197-blank-line-in-doc-block.rs
issue-47639.rs
issue-48377.rs
issue-48414.rs
issue-50159.rs
issue-51236.rs
issue-52873.rs
issue-53689.rs
issue-53812.rs
issue-54478-demo-allocator.rs
issue-54705.rs
issue-55001.rs
issue-55321.rs
issue-55364.rs
issue-56701.rs
issue-56822.rs
issue-57180.rs
issue-60482.rs
issue-60726.rs
issue-61592.rs
issue-67851-both.rs
issue-67851-hidden.rs
issue-67851-neither.rs
issue-67851-private.rs
issue-72340.rs
issue-73061-cross-crate-opaque-assoc-type.rs
issue-74083.rs
issue-75588.rs
issue-76501.rs
issue-78673.rs
issue-78701.rs
issue-79201.rs
issue-80233-normalize-auto-trait.rs
issue-82465-asref-for-and-of-local.rs
issue-83375-multiple-mods-w-same-name-doc-inline-last-item.rs
issue-83375-multiple-mods-w-same-name-doc-inline.rs
issue-85454.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
issue-86620.rs
issue-88600.rs
issue-89309-heading-levels.rs
issue-89852.rs
issue-95633.rs
issue-95873.rs
issue-96381.rs
issue-98697.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
issue-99221-multiple-macro-rules-w-same-name-submodule.rs
issue-99221-multiple-macro-rules-w-same-name.rs
issue-99221-multiple-structs-w-same-name.rs
issue-99734-multiple-foreigns-w-same-name.rs
issue-99734-multiple-mods-w-same-name.rs
issue-100204-inline-impl-through-glob-import.rs
issue-100241.rs
issue-100620.rs
issue-100679-sidebar-links-deref.rs
issue-101743-bold-tag.rs
issue-102154.rs
issue-105952.rs
keyword.rs rustdoc: remove unnecessary DOM class h1.fqn 2023-01-13 10:09:25 -07:00
legacy-const-generic.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
lifetime-name.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
line-breaks.rs
link-assoc-const.rs
link-title-escape.rs
local-reexport-doc.rs rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle 2023-01-13 12:38:03 -07:00
logo-class-default.rs
logo-class.rs
macro_pub_in_module.rs
macro_rules-matchers.rs
macro-document-private-duplicate.rs
macro-document-private.rs
macro-generated-macro.macro_linebreak_pre.html
macro-generated-macro.macro_morestuff_pre.html
macro-generated-macro.rs
macro-higher-kinded-function.rs
macro-in-async-block.rs
macro-in-closure.rs
macro-indirect-use.rs
macro-private-not-documented.rs
macros.rs
manual_impl.rs
markdown-summaries.rs
masked.rs
method-list.rs
mixing-doc-comments-and-attrs.rs rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle 2023-01-13 12:38:03 -07:00
mixing-doc-comments-and-attrs.S1_top-doc.html
mixing-doc-comments-and-attrs.S2_top-doc.html
mixing-doc-comments-and-attrs.S3_top-doc.html
mod-stackoverflow.rs
module-impls.rs
multiple-import-levels.rs rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle 2023-01-13 12:38:03 -07:00
must_implement_one_of.rs
mut-params.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
namespaces.rs
negative-impl-sidebar.rs
negative-impl.rs
nested-modules.rs
no_std-primitive.rs
no-compiler-reexport.rs
no-crate-filter.rs
no-run-still-checks-lints.rs
no-stack-overflow-25295.rs
no-unit-struct-field.rs
normalize-assoc-item.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
not-wf-ambiguous-normalization.rs
nul-error.rs
playground-arg.rs
playground-empty.rs
playground-none.rs
playground-syntax-error.rs
playground.rs
primitive-link.rs
primitive-reexport.rs
primitive-reference.rs rustdoc: remove unnecessary DOM class h1.fqn 2023-01-13 10:09:25 -07:00
primitive-slice-auto-trait.rs rustdoc: remove unnecessary DOM class h1.fqn 2023-01-13 10:09:25 -07:00
primitive-tuple-auto-trait.rs rustdoc: remove unnecessary DOM class h1.fqn 2023-01-13 10:09:25 -07:00
primitive-tuple-variadic.rs
primitive-unit-auto-trait.rs rustdoc: remove unnecessary DOM class h1.fqn 2023-01-13 10:09:25 -07:00
primitive.rs rustdoc: remove unnecessary DOM class h1.fqn 2023-01-13 10:09:25 -07:00
private-type-alias.rs
proc-macro.rs
process-termination.rs
pub-extern-crate.rs
pub-method.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
pub-use-extern-macros.rs
range-arg-pattern.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
raw-ident-eliminate-r-hashtag.rs
read-more-unneeded.rs
recursion1.rs
recursion2.rs
recursion3.rs
recursive-deref-sidebar.rs
recursive-deref.rs
redirect-const.rs
redirect-map-empty.rs
redirect-map.rs
redirect-rename.rs
redirect.rs
reexport-check.rs
reexport-dep-foreign-fn.rs
reexport-doc-hidden.rs Add test for displayed re-export of doc(hidden) 2023-01-12 18:03:50 +01:00
reexport-doc.rs
reexport-stability-tags-deprecated-and-portability.rs
reexport-stability-tags-unstable-and-portability.rs
reexports-priv.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
reexports.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
remove-duplicates.rs
remove-url-from-headings.rs
return-impl-trait.rs
rfc-2632-const-trait-impl.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
rustc-incoherent-impls.rs
rustc-macro-crate.rs
safe-intrinsic.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
same-crate-hidden-impl-parameter.rs
sanitizer-option.rs
search-index-summaries.rs
search-index.rs
short-docblock-codeblock.rs
short-docblock.rs
short-line.md
show-const-contents.rs
sidebar-all-page.rs
sidebar-items.rs
sidebar-link-generation.rs
sidebar-links-to-foreign-impl.rs
sized_trait.rs
slice-links.link_box_generic.html
slice-links.link_box_u32.html
slice-links.link_slice_generic.html
slice-links.link_slice_u32.html
slice-links.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
smart-punct.rs
smoke.rs
sort-modules-by-appearance.rs
source-file.rs
source-version-separator.rs
spotlight-from-dependency.odd.html rustdoc: remove docblock class from notable trait popover 2023-01-13 15:42:29 -07:00
spotlight-from-dependency.rs
src-links-auto-impls.rs
src-links-external.rs
src-links.rs
stability.rs
static-root-path.rs
static.rs
strip-block-doc-comments-stars.docblock.html
strip-block-doc-comments-stars.rs rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle 2023-01-13 12:38:03 -07:00
strip-enum-variant.no-not-shown.html
strip-enum-variant.rs
struct-arg-pattern.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
struct-field.rs
struct-implementations-title.rs
structfields.rs
tab_title.rs
table-in-docblock.rs
task-lists.rs
test-lists.rs
test-parens.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
test-strikethrough.rs
thread-local-src.rs
titles.rs
toggle-item-contents.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
toggle-method.rs rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle 2023-01-13 12:38:03 -07:00
toggle-trait-fn.rs rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle 2023-01-13 12:38:03 -07:00
trait_alias.rs
trait-alias-mention.rs
trait-impl-items-links-and-anchors.rs
trait-impl.rs
trait-self-link.rs
trait-src-link.rs
trait-visibility.rs
traits-in-bodies-private.rs
traits-in-bodies.rs
tuple-struct-fields-doc.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
tuples.link1_i32.html
tuples.link1_t.html
tuples.link2_i32.html
tuples.link2_t.html
tuples.link2_tu.html
tuples.link_unit.html
tuples.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
type-layout-flag-required.rs
type-layout.rs
typedef.rs
unindent.md
unindent.rs
union.rs
unit-return.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
universal-impl-trait.rs
unneeded-trait-implementations-title.rs
use-attr.rs
useless_lifetime_bound.rs
variadic.rs
version-separator-without-source.rs
viewpath-rename.rs
viewpath-self.rs
visibility.rs
where-clause-order.rs
where-sized.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
where.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
where.SWhere_Simd_item-decl.html rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
where.SWhere_TraitWhere_item-decl.html rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
whitespace-after-where-clause.enum2.html rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
whitespace-after-where-clause.enum.html rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
whitespace-after-where-clause.rs
whitespace-after-where-clause.struct2.html rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
whitespace-after-where-clause.struct.html rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
whitespace-after-where-clause.trait2.html rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
whitespace-after-where-clause.trait.html rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
whitespace-after-where-clause.union2.html rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
whitespace-after-where-clause.union.html rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00
without-redirect.rs
wrapping.rs rustdoc: remove redundant item kind class from .item-decl > pre 2023-01-14 11:34:03 -07:00