mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	 3559a48b8e
			
		
	
	
		3559a48b8e
		
			
		
	
	
	
	
		
			
			Make comma separated lists of anything easier to make for errors Provide a new function `listify`, meant to be used in cases similar to `pluralize!`. When you have a slice of arbitrary elements that need to be presented to the user, `listify` allows you to turn that into a list of comma separated strings. This reduces a lot of redundant logic that happens often in diagnostics.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.