diff options
| author | bors <bors@rust-lang.org> | 2025-03-22 14:03:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-03-22 14:03:50 +0000 |
| commit | d93f678fa55842cccd2f091deccd93e9494b3764 (patch) | |
| tree | e8fa4484e06f272b5216c99787e79e9dda5ce0f8 /tests/rustdoc-json/impls/impl_item_visibility.rs | |
| parent | 0ce1369bde8ea61c0286f6e3e35e38fca569a50b (diff) | |
| parent | a4c0173d122a9272b4184b995b82fdbc96dcabab (diff) | |
| download | rust-d93f678fa55842cccd2f091deccd93e9494b3764.tar.gz rust-d93f678fa55842cccd2f091deccd93e9494b3764.zip | |
Auto merge of #138830 - matthiaskrgr:rollup-gaxgfwl, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #138410 (Couple mir building cleanups) - #138490 (Forward `stream_position` in `Arc<File>` as well) - #138535 (Cleanup `LangString::parse`) - #138536 (stable_mir: Add `MutMirVisitor`) - #138673 (Fix build failure on Trusty) - #138750 (Make `crate_hash` not iterate over `hir_crate` owners anymore) - #138763 (jsondocck: Replace `jsonpath_lib` with `jsonpath-rust`) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'tests/rustdoc-json/impls/impl_item_visibility.rs')
| -rw-r--r-- | tests/rustdoc-json/impls/impl_item_visibility.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rustdoc-json/impls/impl_item_visibility.rs b/tests/rustdoc-json/impls/impl_item_visibility.rs index 293dd965804..680ea175d0b 100644 --- a/tests/rustdoc-json/impls/impl_item_visibility.rs +++ b/tests/rustdoc-json/impls/impl_item_visibility.rs @@ -4,13 +4,13 @@ pub struct Foo; impl Foo { fn baz() {} } -//@ !has '$.index[*][?(@.docs=="impl Foo priv")]' +//@ !has '$.index[?(@.docs=="impl Foo priv")]' /// impl Foo pub impl Foo { pub fn qux() {} } -//@ is '$.index[*][?(@.docs=="impl Foo pub")].visibility' '"default"' +//@ is '$.index[?(@.docs=="impl Foo pub")].visibility' '"default"' /// impl Foo hidden impl Foo { @@ -18,4 +18,4 @@ impl Foo { pub fn __quazl() {} } // FIXME(#111564): Is this the right behaviour? -//@ is '$.index[*][?(@.docs=="impl Foo hidden")].visibility' '"default"' +//@ is '$.index[?(@.docs=="impl Foo hidden")].visibility' '"default"' |
