]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc-js-std/asrawfd.js
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / rustdoc-js-std / asrawfd.js
CommitLineData
04454e1e
FG
1// ignore-order
2
3const QUERY = 'RawFd::as_raw_fd';
4
5const 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.
2b03887a
FG
9 { 'path': 'std::os::fd::AsRawFd', 'name': 'as_raw_fd' },
10 { 'path': 'std::os::fd::AsRawFd', 'name': 'as_raw_fd' },
04454e1e 11 { 'path': 'std::os::linux::process::PidFd', 'name': 'as_raw_fd' },
2b03887a 12 { 'path': 'std::os::fd::RawFd', 'name': 'as_raw_fd' },
04454e1e
FG
13 ],
14};