mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			41 lines
		
	
	
		
			963 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			963 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // exact-check
 | |
| 
 | |
| const EXPECTED = [
 | |
|     {
 | |
|         'query': 'Result<SomeTrait>',
 | |
|         'correction': null,
 | |
|         'in_args': [
 | |
|             { 'path': 'generics_trait', 'name': 'beta' },
 | |
|         ],
 | |
|         'returned': [
 | |
|             { 'path': 'generics_trait', 'name': 'bet' },
 | |
|         ],
 | |
|     },
 | |
|     {
 | |
|         'query': 'Result<SomeTraiz>',
 | |
|         'correction': null,
 | |
|         'in_args': [],
 | |
|         'returned': [],
 | |
|     },
 | |
|     {
 | |
|         'query': 'OtherThingxxxxxxxx',
 | |
|         'correction': null,
 | |
|         'in_args': [
 | |
|             { 'path': 'generics_trait', 'name': 'alpha' },
 | |
|         ],
 | |
|         'returned': [
 | |
|             { 'path': 'generics_trait', 'name': 'alef' },
 | |
|         ],
 | |
|     },
 | |
|     {
 | |
|         'query': 'OtherThingxxxxxxxy',
 | |
|         'correction': 'OtherThingxxxxxxxx',
 | |
|         'in_args': [
 | |
|             { 'path': 'generics_trait', 'name': 'alpha' },
 | |
|         ],
 | |
|         'returned': [
 | |
|             { 'path': 'generics_trait', 'name': 'alef' },
 | |
|         ],
 | |
|     },
 | |
| ];
 | 
