bors 
							
						 
					 
					
						
						
						
						
							
						
						
							e17235105c 
							
						 
					 
					
						
						
							
							Auto merge of  #115825  - cjgillot:expr-field-lint, r=compiler-errors  
						
						... 
						
						
						
						Visit ExprField for lint levels.
Fixes https://github.com/rust-lang/rust/issues/115823  
						
						
					 
					
						2023-09-14 06:29:23 +00:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							01d7bf09f3 
							
						 
					 
					
						
						
							
							Visit ExprField for lint levels.  
						
						
						
						
					 
					
						2023-09-13 19:47:20 +00:00 
						 
				 
			
				
					
						
							
							
								Weihang Lo 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a11805ae46 
							
						 
					 
					
						
						
							
							feat(rustc_lint): make CheckLintName respect lint level  
						
						
						
						
					 
					
						2023-08-30 19:24:44 +01:00 
						 
				 
			
				
					
						
							
							
								Weihang Lo 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cdbad43aba 
							
						 
					 
					
						
						
							
							refactor(rustc_lint): inline check_lint_name_cmdline  
						
						
						
						
					 
					
						2023-08-30 17:35:07 +01:00 
						 
				 
			
				
					
						
							
							
								Weihang Lo 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							81a24922e7 
							
						 
					 
					
						
						
							
							lint: translate RenamedOrRemovedLint  
						
						
						
						
					 
					
						2023-08-24 01:09:46 +01:00 
						 
				 
			
				
					
						
							
							
								mojave2 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d2744175ac 
							
						 
					 
					
						
						
							
							unknown unstable lint command line  
						
						... 
						
						
						
						fix ##113702
fix  #113702 
unknown unstable lint command lint
improve impelementation 
						
						
					 
					
						2023-08-22 18:58:39 +08:00 
						 
				 
			
				
					
						
							
							
								Vadim Petrochenkov 
							
						 
					 
					
						
						
						
						
							
						
						
							7353c96be8 
							
						 
					 
					
						
						
							
							rustc: Move features from Session to GlobalCtxt  
						
						... 
						
						
						
						Removes two pieces of mutable state.
Follow up to #114622 . 
						
						
					 
					
						2023-08-11 16:51:50 +08:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							7c34f1a8d8 
							
						 
					 
					
						
						
							
							Make MissingDoc a module lint.  
						
						
						
						
					 
					
						2023-08-04 16:09:14 +00: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 
						 
				 
			
				
					
						
							
							
								Maybe Waffle 
							
						 
					 
					
						
						
						
						
							
						
						
							3dd5413bfd 
							
						 
					 
					
						
						
							
							Add #[track_caller] to lint related diagnostic functions  
						
						
						
						
					 
					
						2023-07-18 15:48:07 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Rousskov 
							
						 
					 
					
						
						
						
						
							
						
						
							cc907f80b9 
							
						 
					 
					
						
						
							
							Re-format let-else per rustfmt update  
						
						
						
						
					 
					
						2023-07-12 21:49:27 -04:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							f52db3ecaa 
							
						 
					 
					
						
						
							
							Stop confusing specification levels when computing expectations.  
						
						
						
						
					 
					
						2023-05-18 08:52:54 +00:00 
						 
				 
			
				
					
						
							
							
								John Kåre Alsaker 
							
						 
					 
					
						
						
						
						
							
						
						
							fff20a703d 
							
						 
					 
					
						
						
							
							Move expansion of query macros in rustc_middle to rustc_middle::query  
						
						
						
						
					 
					
						2023-05-15 08:49:13 +02:00 
						 
				 
			
				
					
						
							
							
								Maybe Waffle 
							
						 
					 
					
						
						
						
						
							
						
						
							e496fbec92 
							
						 
					 
					
						
						
							
							Split {Idx, IndexVec, IndexSlice} into their own modules  
						
						
						
						
					 
					
						2023-04-24 13:53:35 +00:00 
						 
				 
			
				
					
						
							
							
								DaniPopes 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							677357d32b 
							
						 
					 
					
						
						
							
							Fix typos in compiler  
						
						
						
						
					 
					
						2023-04-10 22:02:52 +02:00 
						 
				 
			
				
					
						
							
							
								Nilstrieb 
							
						 
					 
					
						
						
						
						
							
						
						
							54e1309c65 
							
						 
					 
					
						
						
							
							Use HashMap entry APIs more  
						
						
						
						
					 
					
						2023-04-09 21:59:28 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							b7e2b049f3 
							
						 
					 
					
						
						
							
							Querify registered_tools.  
						
						
						
						
					 
					
						2023-03-06 10:56:23 +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 
						 
				 
			
				
					
						
							
							
								Maybe Waffle 
							
						 
					 
					
						
						
						
						
							
						
						
							6a28fb42a8 
							
						 
					 
					
						
						
							
							Remove double spaces after dots in comments  
						
						
						
						
					 
					
						2023-01-17 08:09:33 +00:00 
						 
				 
			
				
					
						
							
							
								Rejyr 
							
						 
					 
					
						
						
						
						
							
						
						
							88e5dd2530 
							
						 
					 
					
						
						
							
							refactor: cleanup  
						
						
						
						
					 
					
						2023-01-09 18:57:02 -05:00 
						 
				 
			
				
					
						
							
							
								Rejyr 
							
						 
					 
					
						
						
						
						
							
						
						
							78fce795d8 
							
						 
					 
					
						
						
							
							refactor: refactor to derive for some lints.  
						
						
						
						
					 
					
						2023-01-09 17:07:25 -05:00 
						 
				 
			
				
					
						
							
							
								Rejyr 
							
						 
					 
					
						
						
						
						
							
						
						
							80df25e160 
							
						 
					 
					
						
						
							
							migrate: levels.rs  
						
						
						
						
					 
					
						2023-01-09 17:07:25 -05:00 
						 
				 
			
				
					
						
							
							
								Rejyr 
							
						 
					 
					
						
						
						
						
							
						
						
							ab66ea61cf 
							
						 
					 
					
						
						
							
							add: emit{,_spanned}_lint for LintLevelsBuilder  
						
						... 
						
						
						
						add: `emit_spanned_lint` and `emit_lint` for `LintLevelsBuilder`
migrate: `DeprecatedLintName` 
						
						
					 
					
						2023-01-09 17:07:25 -05:00 
						 
				 
			
				
					
						
							
							
								Nilstrieb 
							
						 
					 
					
						
						
						
						
							
						
						
							8bfd6450c7 
							
						 
					 
					
						
						
							
							A few small cleanups for newtype_index  
						
						... 
						
						
						
						Remove the `..` from the body, only a few invocations used it and it's
inconsistent with rust syntax.
Use `;` instead of `,` between consts. As the Rust syntax gods inteded. 
						
						
					 
					
						2022-12-18 21:47:28 +01:00 
						 
				 
			
				
					
						
							
							
								Nilstrieb 
							
						 
					 
					
						
						
						
						
							
						
						
							88d5f7f4ce 
							
						 
					 
					
						
						
							
							Make #[custom_encodable] an attribute for newtype_index  
						
						... 
						
						
						
						Makes the syntax a little more rusty. 
						
						
					 
					
						2022-12-18 21:02:14 +01:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							9d20aca983 
							
						 
					 
					
						
						
							
							Store a LocalDefId in hir::Variant & hir::Field.  
						
						
						
						
					 
					
						2022-11-13 14:06:51 +00:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							0ff1d1e122 
							
						 
					 
					
						
						
							
							Tweak signatures in rustc_middle::hir::map.  
						
						
						
						
					 
					
						2022-11-11 10:10:16 +00:00 
						 
				 
			
				
					
						
							
							
								Rejyr 
							
						 
					 
					
						
						
						
						
							
						
						
							ae5cc9c56e 
							
						 
					 
					
						
						
							
							fix: lint against lint functions  
						
						... 
						
						
						
						fix: lint against the functions `LintContext::{lookup_with_diagnostics,lookup,struct_span_lint,lint}`, `TyCtxt::struct_lint_node`, `LintLevelsBuilder::struct_lint`. 
						
						
					 
					
						2022-11-07 19:23:29 -05:00 
						 
				 
			
				
					
						
							
							
								Samuel Moelius 
							
						 
					 
					
						
						
						
						
							
						
						
							62b65b5ede 
							
						 
					 
					
						
						
							
							Change unknown_lint applicability to MaybeIncorrect  
						
						
						
						
					 
					
						2022-10-22 07:17:36 -04:00 
						 
				 
			
				
					
						
							
							
								Maybe Waffle 
							
						 
					 
					
						
						
						
						
							
						
						
							c5de3ecec3 
							
						 
					 
					
						
						
							
							link lint function with decorate function param to struct_lint_level  
						
						
						
						
					 
					
						2022-10-12 14:16:24 +00:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							fec53fd9db 
							
						 
					 
					
						
						
							
							Add sanity Drop impl.  
						
						
						
						
					 
					
						2022-10-01 16:24:44 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							299e10d7ad 
							
						 
					 
					
						
						
							
							Add FIXME.  
						
						
						
						
					 
					
						2022-10-01 16:24:34 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							13608715d8 
							
						 
					 
					
						
						
							
							Replace retain with assertion.  
						
						
						
						
					 
					
						2022-10-01 16:23:20 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							c2d5dd2566 
							
						 
					 
					
						
						
							
							Add fast path without visiting.  
						
						
						
						
					 
					
						2022-10-01 16:23:10 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							e78dd6d781 
							
						 
					 
					
						
						
							
							Simplify LintLevelsProvider.  
						
						
						
						
					 
					
						2022-10-01 16:23:00 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							d08669c4fa 
							
						 
					 
					
						
						
							
							Compute by owner instead of HirId.  
						
						
						
						
					 
					
						2022-10-01 16:22:40 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							273b54d6ac 
							
						 
					 
					
						
						
							
							Add FIXME.  
						
						
						
						
					 
					
						2022-10-01 16:19:52 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							af495f8bb6 
							
						 
					 
					
						
						
							
							Comment LintLevelSets.  
						
						
						
						
					 
					
						2022-10-01 16:19:40 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							34bc5c8824 
							
						 
					 
					
						
						
							
							Move lint level computation to rustc_middle::lint.  
						
						
						
						
					 
					
						2022-10-01 16:18:54 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							6977f7dbe9 
							
						 
					 
					
						
						
							
							Reduce visibilities and remove dead code.  
						
						
						
						
					 
					
						2022-10-01 16:18:42 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							41db9b152f 
							
						 
					 
					
						
						
							
							Move code to rustc_lint.  
						
						
						
						
					 
					
						2022-10-01 16:18:13 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							107170b9c3 
							
						 
					 
					
						
						
							
							Remove unused tool_name.  
						
						
						
						
					 
					
						2022-10-01 16:12:54 +02:00 
						 
				 
			
				
					
						
							
							
								Deadbeef 
							
						 
					 
					
						
						
						
						
							
						
						
							3cb1811e45 
							
						 
					 
					
						
						
							
							Compute lint_levels by definition  
						
						
						
						
					 
					
						2022-10-01 16:12:50 +02:00 
						 
				 
			
				
					
						
							
							
								Maybe Waffle 
							
						 
					 
					
						
						
						
						
							
						
						
							a8f7e244b7 
							
						 
					 
					
						
						
							
							Refactor rustc lint API  
						
						
						
						
					 
					
						2022-10-01 10:03:06 +00:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							fc43df0333 
							
						 
					 
					
						
						
							
							Revert "Auto merge of  #101620  - cjgillot:compute_lint_levels_by_def, r=oli-obk"  
						
						... 
						
						
						
						This reverts commit 2cb9a65684dba47c52de8fa938febf97a73e70a9, reversing
changes made to 750bd1a7ff3e010611b97ee75d30b7cbf5f3a03c. 
						
						
					 
					
						2022-09-22 19:36:11 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							1fcc440391 
							
						 
					 
					
						
						
							
							Add FIXME.  
						
						
						
						
					 
					
						2022-09-14 19:06:39 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							fca0d8a10e 
							
						 
					 
					
						
						
							
							Comment LintLevelSets.  
						
						
						
						
					 
					
						2022-09-14 19:06:30 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							bb61842048 
							
						 
					 
					
						
						
							
							Remove unused tool_name.  
						
						
						
						
					 
					
						2022-09-14 19:06:09 +02:00 
						 
				 
			
				
					
						
							
							
								Camille GILLOT 
							
						 
					 
					
						
						
						
						
							
						
						
							ad09abc194 
							
						 
					 
					
						
						
							
							Move some code and add comments.  
						
						
						
						
					 
					
						2022-09-14 19:06:05 +02:00 
						 
				 
			
				
					
						
							
							
								Deadbeef 
							
						 
					 
					
						
						
						
						
							
						
						
							eb19a8a620 
							
						 
					 
					
						
						
							
							Compute lint_levels by definition  
						
						
						
						
					 
					
						2022-09-14 19:02:44 +02:00