mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 21:16:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			548 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			548 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // exact-check
 | |
| 
 | |
| const EXPECTED = [
 | |
|     {
 | |
|         'query': '-> Out<First<Second>>',
 | |
|         'others': [
 | |
|             { 'path': 'generics_nested', 'name': 'alef' },
 | |
|         ],
 | |
|     },
 | |
|     {
 | |
|         'query': '-> Out<Second<First>>',
 | |
|         'others': [],
 | |
|     },
 | |
|     {
 | |
|         'query': '-> Out<First, Second>',
 | |
|         'others': [
 | |
|             { 'path': 'generics_nested', 'name': 'bet' },
 | |
|         ],
 | |
|     },
 | |
|     {
 | |
|         'query': '-> Out<Second, First>',
 | |
|         'others': [
 | |
|             { 'path': 'generics_nested', 'name': 'bet' },
 | |
|         ],
 | |
|     },
 | |
| ];
 | 
