mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	 c7cb8224e2
			
		
	
	
		c7cb8224e2
		
	
	
	
	
		
			
			This ensures `std::intrinsics::transmute` is deemphasized in the search engine and other UI, by cleaning it into a deprecation without propagating it through reexports when the parent module is stable.
		
			
				
	
	
		
			15 lines
		
	
	
		
			470 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			470 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // should-fail
 | |
| const FILTER_CRATE = "std";
 | |
| const EXPECTED = [
 | |
|     {
 | |
|         // Keep this test case identical to `transmute`, except the
 | |
|         // should-fail tag and the search query below:
 | |
|         'query': 'generic:T -> generic:T',
 | |
|         'others': [
 | |
|             { 'path': 'std::intrinsics::simd', 'name': 'simd_as' },
 | |
|             { 'path': 'std::intrinsics::simd', 'name': 'simd_cast' },
 | |
|             { 'path': 'std::mem', 'name': 'transmute' },
 | |
|         ],
 | |
|     },
 | |
| ];
 |