about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/early.rs
AgeCommit message (Expand)AuthorLines
2023-03-27Rollup merge of #109354 - Swatinem:rm-closureid, r=compiler-errorsGuillaume Gomez-2/+1
2023-03-23rustc_interface: Add a new query `pre_configure`Vadim Petrochenkov-5/+5
2023-03-19Remove the `NodeId` of `ast::ExprKind::Async`Arpad Borsos-2/+1
2023-01-14fix issues in unused lintyukang-6/+2
2023-01-14fix #105061, Fix unused_parens issue for higher ranked function pointersyukang-0/+6
2023-01-13Auto merge of #101138 - Rejyr:diagnostic-migration-rustc-lint-pt2, r=davidtwcobors-0/+1
2023-01-11Auto merge of #105919 - uweigand:s390x-stack-overflow, r=Nilstriebbors-1/+2
2023-01-09refactor: cleanupRejyr-2/+0
2023-01-09migrate: `early.rs` and `enum_intrinsics_non_enums.rs`Rejyr-0/+3
2023-01-03fix dupe word typosRageking8-1/+1
2022-12-19Fix stack overflow in recursive AST walk in early lintUlrich Weigand-1/+2
2022-12-12Speed up the "builtin lints only" case.Nicholas Nethercote-3/+18
2022-12-12Reinstate `{Early,Late}LintPassObjects`.Nicholas Nethercote-22/+52
2022-12-12Rename `run_early_passes` as `lint_callback`.Nicholas Nethercote-28/+28
2022-12-07Split `EarlyContextAndPasses::check_id` in two.Nicholas Nethercote-2/+9
2022-12-05Remove `{Early,Late}LintPassObjects`.Nicholas Nethercote-65/+42
2022-12-02Inline and remove `early_lint_node`.Nicholas Nethercote-35/+12
2022-12-02Merge `builtins` into `EarlyLintPassObjects`.Nicholas Nethercote-15/+4
2022-12-02Remove `-Zno-interleave-lints`.Nicholas Nethercote-32/+13
2022-12-02Eliminate four unnecessary lint macros.Nicholas Nethercote-12/+6
2022-11-21Unreserve braced enum variants in value namespaceVadim Petrochenkov-2/+2
2022-11-17Box `ExprKind::{Closure,MethodCall}`, and `QSelf` in expressions, types, and ...Nicholas Nethercote-1/+4
2022-10-06Remove `-Ztime` option.Nicholas Nethercote-1/+1
2022-10-01Compute `lint_levels` by definitionDeadbeef-0/+1
2022-10-01Refactor rustc lint APIMaybe Waffle-3/+2
2022-09-22Revert "Auto merge of #101620 - cjgillot:compute_lint_levels_by_def, r=oli-obk"Camille GILLOT-1/+0
2022-09-14Compute `lint_levels` by definitionDeadbeef-0/+1
2022-09-12Remove unused argument from `check_mac_def`.Nicholas Nethercote-1/+1
2022-09-12Remove unused span argument from `walk_fn`.Nicholas Nethercote-1/+1
2022-09-12Remove `path_span` argument to the `visit_path_segment` methods.Nicholas Nethercote-2/+2
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+0
2022-08-22Use DiagnosticMessage for BufferedEarlyLint.msgfinalchild-1/+1
2022-08-11Add missing visit_pat_field in early lint visitor.Eric Huss-0/+6
2022-08-11Honor lint level attributes in more places.Eric Huss-3/+4
2022-08-11Simplify `rustc_ast::visit::Visitor::visit_poly_trait_ref`.Nicholas Nethercote-3/+3
2022-07-29Remove some early `check_*` functions.Nicholas Nethercote-17/+0
2022-07-14Auto merge of #99231 - Dylan-DPC:rollup-0tl8c0o, r=Dylan-DPCbors-1/+2
2022-07-13Rename `debugging_opts` to `unstable_opts`Joshua Nelson-1/+1
2022-07-12Lower closure binders to hir & properly check themMaybe Waffle-0/+1
2022-07-12Parse closure bindersMaybe Waffle-1/+1
2022-06-16Inline and remove `{enter,exit}_attrs` functions.Nicholas Nethercote-10/+2
2022-05-24Emit weird lint name lints after expansionest31-17/+17
2022-05-20Lint single-use-lifetimes on the AST.Camille GILLOT-0/+1
2022-05-20Introduce LifetimeCtxt.Camille GILLOT-1/+1
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-2/+1
2022-04-17Lint elided lifetimes in path on the AST.Camille GILLOT-0/+5
2022-04-17Visit generics inside visit_fn.Camille GILLOT-1/+1
2022-03-16rustc_error: make ErrorReported impossible to constructmark-1/+3
2022-03-02Make `LintExpectationId` stable between compilation sessions (RFC-2383)xFrednet-1/+2
2022-01-23rustc_lint: Stop creating a fake `ast::Crate` for running early lintsVadim Petrochenkov-12/+60