diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
commit | 218caa410aa38c29984be31a5229b9fa717560ee (patch) | |
tree | c54bd55eeb6e4c508940a30e94c0032fbd45d677 /tests/rustdoc-json/reexport | |
parent | Releasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/rustdoc-json/reexport/auxiliary/pub-struct.rs (renamed from src/test/rustdoc-json/reexport/auxiliary/pub-struct.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/auxiliary/trait_with_docs.rs (renamed from src/test/rustdoc-json/reexport/auxiliary/trait_with_docs.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/export_extern_crate_as_self.rs (renamed from src/test/rustdoc-json/reexport/export_extern_crate_as_self.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/glob_collision.rs (renamed from src/test/rustdoc-json/reexport/glob_collision.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/glob_empty_mod.rs (renamed from src/test/rustdoc-json/reexport/glob_empty_mod.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/glob_extern.rs (renamed from src/test/rustdoc-json/reexport/glob_extern.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/glob_private.rs (renamed from src/test/rustdoc-json/reexport/glob_private.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/in_root_and_mod.rs (renamed from src/test/rustdoc-json/reexport/in_root_and_mod.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/in_root_and_mod_pub.rs (renamed from src/test/rustdoc-json/reexport/in_root_and_mod_pub.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/macro.rs (renamed from src/test/rustdoc-json/reexport/macro.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/mod_not_included.rs (renamed from src/test/rustdoc-json/reexport/mod_not_included.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/private_twice_one_inline.rs (renamed from src/test/rustdoc-json/reexport/private_twice_one_inline.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/private_two_names.rs (renamed from src/test/rustdoc-json/reexport/private_two_names.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/pub_use_doc_hidden.rs | 15 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/reexport_method_from_private_module.rs (renamed from src/test/rustdoc-json/reexport/reexport_method_from_private_module.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/rename_private.rs (renamed from src/test/rustdoc-json/reexport/rename_private.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/rename_public.rs (renamed from src/test/rustdoc-json/reexport/rename_public.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/same_type_reexported_more_than_once.rs (renamed from src/test/rustdoc-json/reexport/same_type_reexported_more_than_once.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/simple_private.rs (renamed from src/test/rustdoc-json/reexport/simple_private.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/simple_public.rs (renamed from src/test/rustdoc-json/reexport/simple_public.rs) | 0 | ||||
-rw-r--r-- | tests/rustdoc-json/reexport/synthesize_trait_with_docs.rs (renamed from src/test/rustdoc-json/reexport/synthesize_trait_with_docs.rs) | 0 |
21 files changed, 15 insertions, 0 deletions
diff --git a/src/test/rustdoc-json/reexport/auxiliary/pub-struct.rs b/tests/rustdoc-json/reexport/auxiliary/pub-struct.rs index 4a835673a..4a835673a 100644 --- a/src/test/rustdoc-json/reexport/auxiliary/pub-struct.rs +++ b/tests/rustdoc-json/reexport/auxiliary/pub-struct.rs diff --git a/src/test/rustdoc-json/reexport/auxiliary/trait_with_docs.rs b/tests/rustdoc-json/reexport/auxiliary/trait_with_docs.rs index 1e87966b2..1e87966b2 100644 --- a/src/test/rustdoc-json/reexport/auxiliary/trait_with_docs.rs +++ b/tests/rustdoc-json/reexport/auxiliary/trait_with_docs.rs diff --git a/src/test/rustdoc-json/reexport/export_extern_crate_as_self.rs b/tests/rustdoc-json/reexport/export_extern_crate_as_self.rs index f076feb71..f076feb71 100644 --- a/src/test/rustdoc-json/reexport/export_extern_crate_as_self.rs +++ b/tests/rustdoc-json/reexport/export_extern_crate_as_self.rs diff --git a/src/test/rustdoc-json/reexport/glob_collision.rs b/tests/rustdoc-json/reexport/glob_collision.rs index f91144dbf..f91144dbf 100644 --- a/src/test/rustdoc-json/reexport/glob_collision.rs +++ b/tests/rustdoc-json/reexport/glob_collision.rs diff --git a/src/test/rustdoc-json/reexport/glob_empty_mod.rs b/tests/rustdoc-json/reexport/glob_empty_mod.rs index da6822835..da6822835 100644 --- a/src/test/rustdoc-json/reexport/glob_empty_mod.rs +++ b/tests/rustdoc-json/reexport/glob_empty_mod.rs diff --git a/src/test/rustdoc-json/reexport/glob_extern.rs b/tests/rustdoc-json/reexport/glob_extern.rs index 7a1e8c11f..7a1e8c11f 100644 --- a/src/test/rustdoc-json/reexport/glob_extern.rs +++ b/tests/rustdoc-json/reexport/glob_extern.rs diff --git a/src/test/rustdoc-json/reexport/glob_private.rs b/tests/rustdoc-json/reexport/glob_private.rs index 3a83a2081..3a83a2081 100644 --- a/src/test/rustdoc-json/reexport/glob_private.rs +++ b/tests/rustdoc-json/reexport/glob_private.rs diff --git a/src/test/rustdoc-json/reexport/in_root_and_mod.rs b/tests/rustdoc-json/reexport/in_root_and_mod.rs index 7b97ebf21..7b97ebf21 100644 --- a/src/test/rustdoc-json/reexport/in_root_and_mod.rs +++ b/tests/rustdoc-json/reexport/in_root_and_mod.rs diff --git a/src/test/rustdoc-json/reexport/in_root_and_mod_pub.rs b/tests/rustdoc-json/reexport/in_root_and_mod_pub.rs index f6d932d92..f6d932d92 100644 --- a/src/test/rustdoc-json/reexport/in_root_and_mod_pub.rs +++ b/tests/rustdoc-json/reexport/in_root_and_mod_pub.rs diff --git a/src/test/rustdoc-json/reexport/macro.rs b/tests/rustdoc-json/reexport/macro.rs index b4882100f..b4882100f 100644 --- a/src/test/rustdoc-json/reexport/macro.rs +++ b/tests/rustdoc-json/reexport/macro.rs diff --git a/src/test/rustdoc-json/reexport/mod_not_included.rs b/tests/rustdoc-json/reexport/mod_not_included.rs index 7b7600ef2..7b7600ef2 100644 --- a/src/test/rustdoc-json/reexport/mod_not_included.rs +++ b/tests/rustdoc-json/reexport/mod_not_included.rs diff --git a/src/test/rustdoc-json/reexport/private_twice_one_inline.rs b/tests/rustdoc-json/reexport/private_twice_one_inline.rs index 687a3b2ac..687a3b2ac 100644 --- a/src/test/rustdoc-json/reexport/private_twice_one_inline.rs +++ b/tests/rustdoc-json/reexport/private_twice_one_inline.rs diff --git a/src/test/rustdoc-json/reexport/private_two_names.rs b/tests/rustdoc-json/reexport/private_two_names.rs index 9858538a9..9858538a9 100644 --- a/src/test/rustdoc-json/reexport/private_two_names.rs +++ b/tests/rustdoc-json/reexport/private_two_names.rs diff --git a/tests/rustdoc-json/reexport/pub_use_doc_hidden.rs b/tests/rustdoc-json/reexport/pub_use_doc_hidden.rs new file mode 100644 index 000000000..a2a25d084 --- /dev/null +++ b/tests/rustdoc-json/reexport/pub_use_doc_hidden.rs @@ -0,0 +1,15 @@ +// Regression test for <https://github.com/rust-lang/rust/issues/106379> + +#![feature(no_core)] +#![no_core] + +mod repeat_n { + #[doc(hidden)] + pub struct RepeatN {} +} + +pub use repeat_n::RepeatN; + +// @count "$.index[*][?(@.name=='pub_use_doc_hidden')].inner.items[*]" 0 +// @!has "$.index[*][?(@.kind=='struct')]" +// @!has "$.index[*][?(@.kind=='import')]" diff --git a/src/test/rustdoc-json/reexport/reexport_method_from_private_module.rs b/tests/rustdoc-json/reexport/reexport_method_from_private_module.rs index 239b1a23b..239b1a23b 100644 --- a/src/test/rustdoc-json/reexport/reexport_method_from_private_module.rs +++ b/tests/rustdoc-json/reexport/reexport_method_from_private_module.rs diff --git a/src/test/rustdoc-json/reexport/rename_private.rs b/tests/rustdoc-json/reexport/rename_private.rs index 8fd850f9b..8fd850f9b 100644 --- a/src/test/rustdoc-json/reexport/rename_private.rs +++ b/tests/rustdoc-json/reexport/rename_private.rs diff --git a/src/test/rustdoc-json/reexport/rename_public.rs b/tests/rustdoc-json/reexport/rename_public.rs index e30907fe2..e30907fe2 100644 --- a/src/test/rustdoc-json/reexport/rename_public.rs +++ b/tests/rustdoc-json/reexport/rename_public.rs diff --git a/src/test/rustdoc-json/reexport/same_type_reexported_more_than_once.rs b/tests/rustdoc-json/reexport/same_type_reexported_more_than_once.rs index 880dbdc44..880dbdc44 100644 --- a/src/test/rustdoc-json/reexport/same_type_reexported_more_than_once.rs +++ b/tests/rustdoc-json/reexport/same_type_reexported_more_than_once.rs diff --git a/src/test/rustdoc-json/reexport/simple_private.rs b/tests/rustdoc-json/reexport/simple_private.rs index d058ce059..d058ce059 100644 --- a/src/test/rustdoc-json/reexport/simple_private.rs +++ b/tests/rustdoc-json/reexport/simple_private.rs diff --git a/src/test/rustdoc-json/reexport/simple_public.rs b/tests/rustdoc-json/reexport/simple_public.rs index e64a0dcb7..e64a0dcb7 100644 --- a/src/test/rustdoc-json/reexport/simple_public.rs +++ b/tests/rustdoc-json/reexport/simple_public.rs diff --git a/src/test/rustdoc-json/reexport/synthesize_trait_with_docs.rs b/tests/rustdoc-json/reexport/synthesize_trait_with_docs.rs index 25a7c08d6..25a7c08d6 100644 --- a/src/test/rustdoc-json/reexport/synthesize_trait_with_docs.rs +++ b/tests/rustdoc-json/reexport/synthesize_trait_with_docs.rs |