mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	 85eb465a10
			
		
	
	
		85eb465a10
		
			
		
	
	
	
	
		
			
			Store `do_not_recommend`-ness in impl header Alternative to #128674 It's less flexible, but also less invasive. Hopefully it's also performant. I'd recommend we think separately about the design for how to gate arbitrary diagnostic attributes moving forward.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.