mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // exact-check
 | |
| 
 | |
| const EXPECTED = [
 | |
|     {
 | |
|         'query': 'sac -> usize',
 | |
|         'others': [
 | |
|             { 'path': 'full_path_function::b::Sac', 'name': 'bar' },
 | |
|             { 'path': 'full_path_function::b::Sac', 'name': 'len' },
 | |
|             { 'path': 'full_path_function::sac::Sac', 'name': 'len' },
 | |
|         ],
 | |
|     },
 | |
|     {
 | |
|         'query': 'b::sac -> usize',
 | |
|         'others': [
 | |
|             { 'path': 'full_path_function::b::Sac', 'name': 'bar' },
 | |
|             { 'path': 'full_path_function::b::Sac', 'name': 'len' },
 | |
|         ],
 | |
|     },
 | |
|     {
 | |
|         'query': 'b::sac -> u32',
 | |
|         'others': [
 | |
|             { 'path': 'full_path_function::b::Sac', 'name': 'bar2' },
 | |
|         ],
 | |
|     },
 | |
|     {
 | |
|         'query': 'string::string -> u32',
 | |
|         'others': [
 | |
|             { 'path': 'full_path_function::b::Sac', 'name': 'string' },
 | |
|         ],
 | |
|     },
 | |
|     {
 | |
|         'query': 'alloc::string::string -> u32',
 | |
|         'others': [
 | |
|             { 'path': 'full_path_function::b::Sac', 'name': 'string' },
 | |
|         ],
 | |
|     },
 | |
|     {
 | |
|         'query': 'alloc::string -> u32',
 | |
|         'others': [
 | |
|             { 'path': 'full_path_function::b::Sac', 'name': 'string' },
 | |
|         ],
 | |
|     },
 | |
| ];
 | 
