mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 08:36:03 +00:00
14 lines
509 B
JavaScript
14 lines
509 B
JavaScript
// ignore-order
|
|
|
|
const EXPECTED = {
|
|
'query': '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::linux::process::PidFd', 'name': 'as_raw_fd' },
|
|
{ 'path': 'std::os::fd::RawFd', 'name': 'as_raw_fd' },
|
|
],
|
|
};
|