mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			532 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			532 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// ignore-order
 | 
						|
 | 
						|
const FILTER_CRATE = 'std';
 | 
						|
 | 
						|
const EXPECTED = {
 | 
						|
    'query': '"error"',
 | 
						|
    'others': [
 | 
						|
        { 'path': 'std', 'name': 'error' },
 | 
						|
        { 'path': 'std::fmt', 'name': 'Error' },
 | 
						|
        { 'path': 'std::io', 'name': 'Error' },
 | 
						|
    ],
 | 
						|
    'in_args': [
 | 
						|
        { 'path': 'std::fmt::Error', 'name': 'eq' },
 | 
						|
        { 'path': 'std::fmt::Error', 'name': 'cmp' },
 | 
						|
        { 'path': 'std::fmt::Error', 'name': 'partial_cmp' },
 | 
						|
 | 
						|
    ],
 | 
						|
    'returned': [
 | 
						|
        { 'path': 'std::fmt::LowerExp', 'name': 'fmt' },
 | 
						|
    ],
 | 
						|
};
 |