]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-js-std/asrawfd.js
Rollup merge of #107471 - notriddle:notriddle/default-settings, r=GuillaumeGomez
[rust.git] / tests / rustdoc-js-std / asrawfd.js
1 // ignore-order
2
3 const QUERY = 'RawFd::as_raw_fd';
4
5 const EXPECTED = {
6     'others': [
7         // Reproduction test for https://github.com/rust-lang/rust/issues/78724
8         // Validate that type alias methods get the correct path.
9         { 'path': 'std::os::fd::AsRawFd', 'name': 'as_raw_fd' },
10         { 'path': 'std::os::fd::AsRawFd', 'name': 'as_raw_fd' },
11         { 'path': 'std::os::linux::process::PidFd', 'name': 'as_raw_fd' },
12         { 'path': 'std::os::fd::RawFd', 'name': 'as_raw_fd' },
13     ],
14 };