diff options
| author | binarycat <binarycat@envs.net> | 2025-09-02 11:41:21 -0500 |
|---|---|---|
| committer | binarycat <binarycat@envs.net> | 2025-10-02 15:28:00 -0500 |
| commit | 2dd00d3391b82dd0928f50589eb37f6fbbe32980 (patch) | |
| tree | 0320eed93f5aa1940b88f16d3cdbbb13fdf627de /tests/rustdoc-js-std/asrawfd.js | |
| parent | c407d340de1717a88537725c899c153c6fdda051 (diff) | |
| download | rust-2dd00d3391b82dd0928f50589eb37f6fbbe32980.tar.gz rust-2dd00d3391b82dd0928f50589eb37f6fbbe32980.zip | |
fix rustdoc tests broke by trait item filtering
Diffstat (limited to 'tests/rustdoc-js-std/asrawfd.js')
| -rw-r--r-- | tests/rustdoc-js-std/asrawfd.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/rustdoc-js-std/asrawfd.js b/tests/rustdoc-js-std/asrawfd.js index 5dbc4ba95d9..da08eeb8a53 100644 --- a/tests/rustdoc-js-std/asrawfd.js +++ b/tests/rustdoc-js-std/asrawfd.js @@ -1,12 +1,10 @@ // ignore-order const EXPECTED = { - 'query': 'RawFd::as_raw_fd', + 'query': 'method:RawFd::as_raw_fd', 'others': [ // Reproduction test for https://github.com/rust-lang/rust/issues/78724 // Validate that type alias methods get the correct path. - { 'path': 'std::os::fd::AsRawFd', 'name': 'as_raw_fd' }, - { 'path': 'std::os::fd::AsRawFd', 'name': 'as_raw_fd' }, { 'path': 'std::os::fd::RawFd', 'name': 'as_raw_fd' }, ], }; |
