mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	 cd46ff6c05
			
		
	
	
		cd46ff6c05
		
	
	
	
	
		
			
			fixes https://github.com/rust-lang/rust/issues/129707 this can be used to show all items in a module, or all associated items for a type. currently sufferes slightly due to case insensitivity, so `Option::` will also show items in the `option::` module. it disables the checking of the last path element, otherwise only items with short names will be shown
		
			
				
	
	
		
			7 lines
		
	
	
		
			145 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			145 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| const EXPECTED = {
 | |
|     'query': 'Option::',
 | |
|     'others': [
 | |
|         { 'path': 'std::option::Option', 'name': 'get_or_insert_default' },
 | |
|     ],
 | |
| }
 |