rust/compiler/rustc_lint/src
Nicholas Nethercote 4ff5a3655f Speed up the "builtin lints only" case.
This commit partly undoes #104863, which combined the builtin lints pass
with other lints. This caused a slowdown, because often there are no
other lints, and it's faster to do a pass with a single lint directly
than it is to do a combined pass with a `passes` vector containing a
single lint.
2022-12-12 08:59:27 +11:00
..
nonstandard_style mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
array_into_iter.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
builtin.rs Auto merge of #105416 - nnethercote:more-linting-tweaks, r=cjgillot 2022-12-10 19:49:51 +00:00
context.rs Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
deref_into_dyn_supertrait.rs Use nicer spans for deref_into_dyn_supertrait 2022-11-23 16:12:51 +00:00
early.rs Speed up the "builtin lints only" case. 2022-12-12 08:59:27 +11:00
enum_intrinsics_non_enums.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
errors.rs Convert all #[suggestion_*] attributes to #[suggestion(style = "...")] 2022-10-26 15:04:09 +02:00
expect.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
for_loops_over_fallibles.rs Use TraitEngine less 2022-11-02 04:11:05 +00:00
hidden_unicode_codepoints.rs Inline some hot lint pass functions. 2022-12-07 19:29:31 +11:00
internal.rs rustc_hir: Relax lifetime requirements on Visitor::visit_path 2022-12-01 17:04:02 +03:00
late.rs Speed up the "builtin lints only" case. 2022-12-12 08:59:27 +11:00
let_underscore.rs Merge branch 'master' into patch-2 2022-11-15 21:16:11 +01:00
levels.rs Store a LocalDefId in hir::Variant & hir::Field. 2022-11-13 14:06:51 +00:00
lib.rs Reinstate {Early,Late}LintPassObjects. 2022-12-12 08:59:27 +11:00
methods.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
non_ascii_idents.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
non_fmt_panic.rs Stop passing the self-type as a separate argument. 2022-11-21 20:39:46 +00:00
nonstandard_style.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
noop_method_call.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
opaque_hidden_inferred_bound.rs Introduce PredicateKind::Clause 2022-11-25 00:04:54 -03:00
pass_by_value.rs Update documentation 2022-11-30 12:17:54 +00:00
passes.rs Reinstate {Early,Late}LintPassObjects. 2022-12-12 08:59:27 +11:00
redundant_semicolon.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
tests.rs Update to last upstream version 2021-07-08 17:14:28 +02:00
traits.rs Introduce PredicateKind::Clause 2022-11-25 00:04:54 -03:00
types.rs compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
unused.rs Auto merge of #105416 - nnethercote:more-linting-tweaks, r=cjgillot 2022-12-10 19:49:51 +00:00