rust/compiler/rustc_lint/src
Dylan DPC 2904060314
Rollup merge of #101501 - Jarcho:tcx_lint_passes, r=davidtwco
Allow lint passes to be bound by `TyCtxt`

This will allow storing things like `Ty<'tcx>` inside late lint passes. It's already possible to store various id types so they're already implicitly bound to a specific `TyCtxt`.

r? rust-lang/compiler
2022-09-08 20:48:36 +05:30
..
nonstandard_style mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
array_into_iter.rs refactor: remove unnecessary variables 2022-09-05 22:31:02 +09:00
builtin.rs Auto merge of #101241 - camsteffen:refactor-binding-annotations, r=cjgillot 2022-09-06 03:16:29 +00:00
context.rs Allow lint passes to be bound by TyCtxt 2022-09-06 14:23:03 -04:00
early.rs Always import all tracing macros for the entire crate instead of piecemeal by module 2022-09-01 14:54:27 +00:00
enum_intrinsics_non_enums.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
errors.rs UPDATE - into_diagnostic to take a Handler instead of a ParseSess 2022-09-05 02:18:45 -04:00
expect.rs lint: port expectation diagnostics 2022-06-30 08:59:21 +01:00
hidden_unicode_codepoints.rs Rename some things related to literals. 2022-08-16 13:41:34 +10:00
internal.rs Auto merge of #101261 - TaKO8Ki:separate-receiver-from-arguments-in-hir, r=cjgillot 2022-09-05 16:21:40 +00:00
late.rs Allow lint passes to be bound by TyCtxt 2022-09-06 14:23:03 -04:00
let_underscore.rs Fix imports. 2022-08-04 17:31:08 -04:00
levels.rs Always import all tracing macros for the entire crate instead of piecemeal by module 2022-09-01 14:54:27 +00:00
lib.rs Allow lint passes to be bound by TyCtxt 2022-09-06 14:23:03 -04:00
methods.rs refactor: remove unnecessary variables 2022-09-05 22:31:02 +09:00
non_ascii_idents.rs lint: port non-ascii-idents diagnostics 2022-06-30 08:59:21 +01:00
non_fmt_panic.rs lint: port non-fmt-panic diagnostics 2022-06-30 08:59:21 +01:00
nonstandard_style.rs Add visitors for PatField and ExprField. 2022-08-11 21:48:39 -07:00
noop_method_call.rs separate the receiver from arguments in HIR 2022-09-05 22:25:49 +09:00
pass_by_value.rs lint: port pass-by-value diagnostics 2022-06-30 08:59:21 +01:00
passes.rs Allow lint passes to be bound by TyCtxt 2022-09-06 14:23:03 -04:00
redundant_semicolon.rs lint: port redundant semicolons diagnostics 2022-06-30 08:59:21 +01:00
tests.rs Update to last upstream version 2021-07-08 17:14:28 +02:00
traits.rs lint: port drop trait/glue diagnostics 2022-06-30 08:59:21 +01:00
types.rs separate the receiver from arguments in HIR 2022-09-05 22:25:49 +09:00
unused.rs Refactor and re-use BindingAnnotation 2022-09-02 12:55:05 -05:00