Nadrieril 
							
						 
					 
					
						
						
						
						
							
						
						
							cb622f3994 
							
						 
					 
					
						
						
							
							Name rustc-specific things "rustc"  
						
						
						
						
					 
					
						2023-12-15 16:58:37 +01:00 
						 
				 
			
				
					
						
							
							
								Nadrieril 
							
						 
					 
					
						
						
						
						
							
						
						
							3691a0aee5 
							
						 
					 
					
						
						
							
							Gather rustc-specific functions around MatchCheckCtxt  
						
						
						
						
					 
					
						2023-12-11 11:20:55 +01:00 
						 
				 
			
				
					
						
							
							
								Nadrieril 
							
						 
					 
					
						
						
						
						
							
						
						
							281002d42c 
							
						 
					 
					
						
						
							
							Extract exhaustiveness into its own crate  
						
						
						
						
					 
					
						2023-12-11 11:20:55 +01:00 
						 
				 
			
				
					
						
							
							
								Eduardo Sánchez Muñoz 
							
						 
					 
					
						
						
						
						
							
						
						
							6b066a9305 
							
						 
					 
					
						
						
							
							thir-unsafeck: print list of missing target features when calling a function with target features outside an unsafe block  
						
						
						
						
					 
					
						2023-11-28 20:37:02 +01:00 
						 
				 
			
				
					
						
							
							
								Matthew Jasper 
							
						 
					 
					
						
						
						
						
							
						
						
							2b59992736 
							
						 
					 
					
						
						
							
							Add suggestion to THIR unsafe_op_in_unsafe_fn lint  
						
						
						
						
					 
					
						2023-11-06 16:23:09 +00:00 
						 
				 
			
				
					
						
							
							
								Nadrieril 
							
						 
					 
					
						
						
						
						
							
						
						
							f0e8330879 
							
						 
					 
					
						
						
							
							Suggest to set lint level on whole match  
						
						
						
						
					 
					
						2023-11-04 14:44:00 +01:00 
						 
				 
			
				
					
						
							
							
								Nadrieril 
							
						 
					 
					
						
						
						
						
							
						
						
							61d0fc7cf5 
							
						 
					 
					
						
						
							
							Warn when lint level is set on a match arm  
						
						
						
						
					 
					
						2023-11-04 14:44:00 +01:00 
						 
				 
			
				
					
						
							
							
								Nadrieril 
							
						 
					 
					
						
						
						
						
							
						
						
							feb769a5c9 
							
						 
					 
					
						
						
							
							s/to_pat/to_diagnostic_pat/  
						
						
						
						
					 
					
						2023-10-27 19:56:12 +02:00 
						 
				 
			
				
					
						
							
							
								Matthew Jasper 
							
						 
					 
					
						
						
						
						
							
						
						
							dc3d428a8a 
							
						 
					 
					
						
						
							
							Make THIR unused_unsafe lint consistent with MIR  
						
						... 
						
						
						
						Updates THIR behavior to match the changes from #93678  
						
						
					 
					
						2023-10-25 10:10:13 +00:00 
						 
				 
			
				
					
						
							
							
								Nadrieril 
							
						 
					 
					
						
						
						
						
							
						
						
							272c914bdd 
							
						 
					 
					
						
						
							
							Distinguish user patterns from reconstructed witnesses  
						
						
						
						
					 
					
						2023-10-14 19:39:18 +02:00 
						 
				 
			
				
					
						
							
							
								Nadrieril 
							
						 
					 
					
						
						
						
						
							
						
						
							1baf8bf54d 
							
						 
					 
					
						
						
							
							Fix range overflow checking  
						
						
						
						
					 
					
						2023-10-11 04:55:55 +02:00 
						 
				 
			
				
					
						
							
							
								Ralf Jung 
							
						 
					 
					
						
						
						
						
							
						
						
							c5fccb98ea 
							
						 
					 
					
						
						
							
							work towards rejecting consts in patterns that do not implement PartialEq  
						
						
						
						
					 
					
						2023-09-24 16:36:26 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias Krüger 
							
						 
					 
					
						
						
						
						
							
						
						
							c64ef5e070 
							
						 
					 
					
						
						
							
							inline format!() args from rustc_codegen_llvm to the end (4)  
						
						... 
						
						
						
						r? @WaffleLapkin 
						
						
					 
					
						2023-07-25 23:20:28 +02:00 
						 
				 
			
				
					
						
							
							
								syvb 
							
						 
					 
					
						
						
						
						
							
						
						
							2cfe8ed37d 
							
						 
					 
					
						
						
							
							Implement "items do not inherit unsafety" for THIR unsafeck  
						
						
						
						
					 
					
						2023-07-15 11:59:38 -04:00 
						 
				 
			
				
					
						
							
							
								Eric Mark Martin 
							
						 
					 
					
						
						
						
						
							
						
						
							2017a176eb 
							
						 
					 
					
						
						
							
							use translatable subdiagnostic  
						
						
						
						
					 
					
						2023-06-28 01:51:53 -04:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							9a7ed3625f 
							
						 
					 
					
						
						
							
							Emit diagnostic for privately uninhabited uncovered witnesses.  
						
						
						
						
					 
					
						2023-05-24 19:16:07 +00:00 
						 
				 
			
				
					
						
							
							
								Matthias Krüger 
							
						 
					 
					
						
						
						
						
							
						
						
							bcc15bba95 
							
						 
					 
					
						
						
							
							use matches! macro in more places  
						
						
						
						
					 
					
						2023-04-16 12:08:30 +02:00 
						 
				 
			
				
					
						
							
							
								DaniPopes 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							677357d32b 
							
						 
					 
					
						
						
							
							Fix typos in compiler  
						
						
						
						
					 
					
						2023-04-10 22:02:52 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							e73aeeaeee 
							
						 
					 
					
						
						
							
							Remove redundant field.  
						
						
						
						
					 
					
						2023-04-03 15:59:21 +00:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							4f97540432 
							
						 
					 
					
						
						
							
							Reinstate confusion note.  
						
						
						
						
					 
					
						2023-04-03 15:59:21 +00:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							05082f57af 
							
						 
					 
					
						
						
							
							Perform match checking on THIR.  
						
						
						
						
					 
					
						2023-04-03 15:59:21 +00:00 
						 
				 
			
				
					
						
							
							
								Jamen Marz 
							
						 
					 
					
						
						
						
						
							
						
						
							73c34cbaf7 
							
						 
					 
					
						
						
							
							Add notes to non-structural const in pattern error message  
						
						
						
						
					 
					
						2023-03-27 11:08:11 -04:00 
						 
				 
			
				
					
						
							
							
								clubby789 
							
						 
					 
					
						
						
						
						
							
						
						
							d845769557 
							
						 
					 
					
						
						
							
							Restrict #[rustc_box] to Box::new calls  
						
						
						
						
					 
					
						2023-03-02 02:42:19 +00:00 
						 
				 
			
				
					
						
							
							
								David Wood 
							
						 
					 
					
						
						
						
						
							
						
						
							d1fcf61117 
							
						 
					 
					
						
						
							
							errors: generate typed identifiers in each crate  
						
						... 
						
						
						
						Instead of loading the Fluent resources for every crate in
`rustc_error_messages`, each crate generates typed identifiers for its
own diagnostics and creates a static which are pulled together in the
`rustc_driver` crate and provided to the diagnostic emitter.
Signed-off-by: David Wood <david.wood@huawei.com> 
						
						
					 
					
						2023-02-22 09:15:53 +00:00 
						 
				 
			
				
					
						
							
							
								Matthias Krüger 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e8c17de11d 
							
						 
					 
					
						
						
							
							Rollup merge of  #106978  - mejrs:mir_build3, r=davidtwco  
						
						... 
						
						
						
						Migrate mir_build's borrow conflicts
This also changes the error message slightly, for two reasons:
- I'm not a fan of saying "value borrowed, by `x`, here"
- it simplifies the error implementation significantly. 
						
						
					 
					
						2023-01-26 15:02:20 +01:00 
						 
				 
			
				
					
						
							
							
								mejrs 
							
						 
					 
					
						
						
						
						
							
						
						
							6fe4cf795b 
							
						 
					 
					
						
						
							
							Migrate mir_build's borrow conflicts  
						
						
						
						
					 
					
						2023-01-17 13:48:43 +01:00 
						 
				 
			
				
					
						
							
							
								Ezra Shaw 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1babece1e8 
							
						 
					 
					
						
						
							
							suggest fix for attempted integer identifier in patterns  
						
						
						
						
					 
					
						2023-01-14 12:51:20 +13:00 
						 
				 
			
				
					
						
							
							
								Michael Goulet 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							83d3b76ac2 
							
						 
					 
					
						
						
							
							Rollup merge of  #106097  - mejrs:mir_build2, r=oli-obk  
						
						... 
						
						
						
						Migrate mir_build diagnostics 2 of 3
The first three commits are fairly boring, however I've made some changes to the output of the match checking diagnostics. 
						
						
					 
					
						2023-01-11 22:25:47 -08:00 
						 
				 
			
				
					
						
							
							
								mejrs 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							372ac9c1a2 
							
						 
					 
					
						
						
							
							Translate Overlap eagerly  
						
						
						
						
					 
					
						2023-01-11 14:40:13 -08:00 
						 
				 
			
				
					
						
							
							
								mejrs 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8476c517c0 
							
						 
					 
					
						
						
							
							Don't recommend if let if let else works  
						
						
						
						
					 
					
						2023-01-11 14:40:07 -08:00 
						 
				 
			
				
					
						
							
							
								mejrs 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							31c20210b9 
							
						 
					 
					
						
						
							
							Migrate pattern matching  
						
						
						
						
					 
					
						2023-01-11 14:40:02 -08:00 
						 
				 
			
				
					
						
							
							
								mejrs 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ef33072890 
							
						 
					 
					
						
						
							
							Migrate usefulness.rs  
						
						
						
						
					 
					
						2023-01-11 14:39:59 -08:00 
						 
				 
			
				
					
						
							
							
								mejrs 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5d2b9a9ed0 
							
						 
					 
					
						
						
							
							Migrate deconstruct_pat.rs  
						
						
						
						
					 
					
						2023-01-11 14:39:49 -08:00 
						 
				 
			
				
					
						
							
							
								mejrs 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							519b1abd19 
							
						 
					 
					
						
						
							
							Translate const_to_pat.rs  
						
						
						
						
					 
					
						2023-01-11 14:39:27 -08:00 
						 
				 
			
				
					
						
							
							
								Esteban Küber 
							
						 
					 
					
						
						
						
						
							
						
						
							52d534ef63 
							
						 
					 
					
						
						
							
							Detect out of bounds range pattern value  
						
						... 
						
						
						
						Fix  #68972 . 
					
						2023-01-11 16:50:55 +00:00 
						 
				 
			
				
					
						
							
							
								mejrs 
							
						 
					 
					
						
						
						
						
							
						
						
							6749ee4d7b 
							
						 
					 
					
						
						
							
							Remove (eager)  
						
						
						
						
					 
					
						2022-12-17 19:20:44 +01:00 
						 
				 
			
				
					
						
							
							
								mejrs 
							
						 
					 
					
						
						
						
						
							
						
						
							1bdf112529 
							
						 
					 
					
						
						
							
							Resolve various merge conflicts  
						
						
						
						
					 
					
						2022-12-17 19:08:25 +01:00 
						 
				 
			
				
					
						
							
							
								TheOddGarlic 
							
						 
					 
					
						
						
						
						
							
						
						
							e71a722fa6 
							
						 
					 
					
						
						
							
							Migrate multiple mut borrows diagnostic  
						
						
						
						
					 
					
						2022-12-17 19:08:25 +01:00 
						 
				 
			
				
					
						
							
							
								TheOddGarlic 
							
						 
					 
					
						
						
						
						
							
						
						
							3a9a06311d 
							
						 
					 
					
						
						
							
							Migrate borrow of moved value diagnostic  
						
						
						
						
					 
					
						2022-12-17 19:08:25 +01:00 
						 
				 
			
				
					
						
							
							
								TheOddGarlic 
							
						 
					 
					
						
						
						
						
							
						
						
							eeef05b318 
							
						 
					 
					
						
						
							
							Migrate irrefutable let pattern diagnostics  
						
						
						
						
					 
					
						2022-12-17 19:08:25 +01:00 
						 
				 
			
				
					
						
							
							
								TheOddGarlic 
							
						 
					 
					
						
						
						
						
							
						
						
							e1c5073c07 
							
						 
					 
					
						
						
							
							Migrate pattern bindings with variant name lint  
						
						
						
						
					 
					
						2022-12-17 19:08:25 +01:00 
						 
				 
			
				
					
						
							
							
								TheOddGarlic 
							
						 
					 
					
						
						
						
						
							
						
						
							6f82a00aa1 
							
						 
					 
					
						
						
							
							Migrate leading/trailing irrefutable let pattern diagnostics  
						
						
						
						
					 
					
						2022-12-17 19:08:24 +01:00 
						 
				 
			
				
					
						
							
							
								TheOddGarlic 
							
						 
					 
					
						
						
						
						
							
						
						
							4b70784176 
							
						 
					 
					
						
						
							
							Migrate lower range bound diagnostics  
						
						
						
						
					 
					
						2022-12-17 19:08:24 +01:00 
						 
				 
			
				
					
						
							
							
								TheOddGarlic 
							
						 
					 
					
						
						
						
						
							
						
						
							513e3995e0 
							
						 
					 
					
						
						
							
							Migrate "could not evaluate const pattern" diagnostic  
						
						
						
						
					 
					
						2022-12-17 19:08:24 +01:00 
						 
				 
			
				
					
						
							
							
								TheOddGarlic 
							
						 
					 
					
						
						
						
						
							
						
						
							d5f821eeb0 
							
						 
					 
					
						
						
							
							Migrate "constant pattern depends on generic parameter" diagnostic  
						
						
						
						
					 
					
						2022-12-17 19:08:24 +01:00 
						 
				 
			
				
					
						
							
							
								TheOddGarlic 
							
						 
					 
					
						
						
						
						
							
						
						
							b694e6649e 
							
						 
					 
					
						
						
							
							Migrate unreachable pattern diagnostic  
						
						
						
						
					 
					
						2022-12-17 19:08:24 +01:00 
						 
				 
			
				
					
						
							
							
								TheOddGarlic 
							
						 
					 
					
						
						
						
						
							
						
						
							98442b6905 
							
						 
					 
					
						
						
							
							Migrate pattern inlining error diagnostics  
						
						
						
						
					 
					
						2022-12-17 19:08:24 +01:00 
						 
				 
			
				
					
						
							
							
								TheOddGarlic 
							
						 
					 
					
						
						
						
						
							
						
						
							c7bfd00719 
							
						 
					 
					
						
						
							
							Migrate "non-exhaustive patterns: type is non-empty" diagnostic  
						
						
						
						
					 
					
						2022-12-17 19:08:24 +01:00 
						 
				 
			
				
					
						
							
							
								TheOddGarlic 
							
						 
					 
					
						
						
						
						
							
						
						
							71a9cb9b7e 
							
						 
					 
					
						
						
							
							Migrate "unused unsafe" lint  
						
						
						
						
					 
					
						2022-12-17 19:08:24 +01:00 
						 
				 
			
				
					
						
							
							
								TheOddGarlic 
							
						 
					 
					
						
						
						
						
							
						
						
							64f3e4f195 
							
						 
					 
					
						
						
							
							Migrate "requires unsafe" diagnostics  
						
						
						
						
					 
					
						2022-12-17 19:08:24 +01:00