rust/compiler/rustc_hir_analysis/src
Jubilee 58353fa458
Rollup merge of #118727 - compiler-errors:lint-decorate, r=WaffleLapkin
Don't pass lint back out of lint decorator

Change the decorator function in the signature of the `emit_lint`/`span_lint`/etc family of methods from `impl for<'a, 'b> FnOnce(&'b mut DiagnosticBuilder<'a, ()>) -> &'b mut DiagnosticBuilder<'a, ()>` to `impl for<'a, 'b> FnOnce(&'b mut DiagnosticBuilder<'a, ()>)`. I consider it easier to read this way, especially when there's control flow involved.

r? nnethercote though feel free to reassign
2023-12-15 14:08:16 -08:00
..
astconv Rollup merge of #118727 - compiler-errors:lint-decorate, r=WaffleLapkin 2023-12-15 14:08:16 -08:00
check Rollup merge of #118727 - compiler-errors:lint-decorate, r=WaffleLapkin 2023-12-15 14:08:16 -08:00
coherence Don't pass lint back out of lint decorator 2023-12-15 16:05:36 +00:00
collect Rollup merge of #118727 - compiler-errors:lint-decorate, r=WaffleLapkin 2023-12-15 14:08:16 -08:00
impl_wf_check Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
outlives Move some methods from tcx.hir() to tcx 2023-12-12 06:40:29 -08:00
structured_errors Move some methods from tcx.hir() to tcx 2023-12-12 06:40:29 -08:00
variance finish RegionKind rename 2023-11-14 13:13:27 +00:00
autoderef.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
bounds.rs Don't compare host param by name 2023-10-18 02:38:54 +00:00
check_unused.rs Don't pass lint back out of lint decorator 2023-12-15 16:05:36 +00:00
collect.rs Annotate some bugs 2023-12-15 14:45:06 +00:00
constrained_generic_params.rs finish RegionKind rename 2023-11-14 13:13:27 +00:00
errors.rs Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
hir_wf_check.rs Move some methods from tcx.hir() to tcx 2023-12-12 06:40:29 -08:00
impl_wf_check.rs Rename HandlerInner::delay_span_bug as HandlerInner::span_delayed_bug. 2023-12-02 09:01:19 +11:00
lib.rs Rename HandlerInner::delay_span_bug as HandlerInner::span_delayed_bug. 2023-12-02 09:01:19 +11:00
structured_errors.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00