mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			739 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			739 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // exact-check
 | |
| 
 | |
| const EXPECTED = [
 | |
|     {
 | |
|         'query': 'Subscriber',
 | |
|         'others': [
 | |
|             { 'path': 'reexport::fmt', 'name': 'Subscriber' },
 | |
|             { 'path': 'reexport', 'name': 'FmtSubscriber' },
 | |
|         ],
 | |
|     },
 | |
|     {
 | |
|         'query': 'AnotherOne',
 | |
|         'others': [
 | |
|             { 'path': 'reexport', 'name': 'AnotherOne' },
 | |
|         ],
 | |
|     },
 | |
|     {
 | |
|         'query': 'fn:Equivalent::equivalent',
 | |
|         'others': [
 | |
|             // These results must never contain `reexport::equivalent::NotEquivalent`,
 | |
|             // since that path does not exist.
 | |
|             { 'path': 'equivalent::Equivalent', 'name': 'equivalent' },
 | |
|             { 'path': 'reexport::NotEquivalent', 'name': 'equivalent' },
 | |
|         ],
 | |
|     },
 | |
| ];
 | 
