mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			881 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			881 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // exact-check
 | |
| // ignore-order
 | |
| 
 | |
| const EXPECTED = [
 | |
|     {
 | |
|         'query': 'tyctxt, symbol -> bool',
 | |
|         'others': [
 | |
|             {
 | |
|                 'path': 'foo::TyCtxt',
 | |
|                 'name': 'has_attr',
 | |
|                 'displayType': "`TyCtxt`, Into<DefId>, `Symbol` -> `bool`",
 | |
|             },
 | |
|         ],
 | |
|     },
 | |
|     {
 | |
|         'query': 'tyctxt, into<defid>, symbol -> bool',
 | |
|         'others': [
 | |
|             {
 | |
|                 'path': 'foo::TyCtxt',
 | |
|                 'name': 'has_attr',
 | |
|                 'displayType': "`TyCtxt`, `Into`<`DefId`>, `Symbol` -> `bool`",
 | |
|             },
 | |
|         ],
 | |
|     },
 | |
|     {
 | |
|         'query': 'tyctxt, defid, symbol -> bool',
 | |
|         'others': [
 | |
|             {
 | |
|                 'path': 'foo::TyCtxt',
 | |
|                 'name': 'has_attr',
 | |
|                 'displayType': "`TyCtxt`, Into<`DefId`>, `Symbol` -> `bool`",
 | |
|             },
 | |
|         ],
 | |
|     },
 | |
| ];
 | 
