diff options
| author | schvv31n <tim.kurdov@gmail.com> | 2024-08-08 17:13:15 +0100 |
|---|---|---|
| committer | schvv31n <tim.kurdov@gmail.com> | 2024-08-08 17:13:15 +0100 |
| commit | c2a0d9ca6eccbfaf1c6cd189dca0216a0ac66c75 (patch) | |
| tree | e3190494f5287933986d020e77c198cf8194cb01 /tests/rustdoc-json | |
| parent | 8b3870784f69d8ed2ae4246d1b56f150e3131499 (diff) | |
rustdoc: fixed #101105
modules are now stripped based on the same logic that's used to strip other item kinds
Diffstat (limited to 'tests/rustdoc-json')
| -rw-r--r-- | tests/rustdoc-json/pub_mod_in_private_mod.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rustdoc-json/pub_mod_in_private_mod.rs b/tests/rustdoc-json/pub_mod_in_private_mod.rs new file mode 100644 index 00000000000..112ab9c68f0 --- /dev/null +++ b/tests/rustdoc-json/pub_mod_in_private_mod.rs @@ -0,0 +1,6 @@ +// See https://github.com/rust-lang/rust/issues/101105 + +//@ !has "$.index[*][?(@.name=='nucleus')]" +mod corpus { + pub mod nucleus {} +} |
