mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +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' },
 | |
|     ],
 | |
| };
 | 
