about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/early.rs
AgeCommit message (Expand)AuthorLines
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
2022-01-23rustc_lint: Reuse the set of registered tools from resolverVadim Petrochenkov-6/+13
2022-01-23rustc_lint: Remove some redundant fields from `EarlyContext`Vadim Petrochenkov-38/+26
2021-09-26Pass real crate-level attributes to `pre_expansion_lint`Samuel Moelius-3/+21
2021-07-17Add additional missing lint handling logicAaron Hill-2/+4
2021-07-17Add missing `visit_expr_field`Aaron Hill-2/+14
2021-05-07Fix duplicate unknown lint errorsCameron Steffen-3/+3
2021-04-15Run buffered lints attached to anon constsAaron Hill-0/+1
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-3/+3
2021-02-27Combine HasAttrs and HasTokens into AstLikeAaron Hill-1/+1
2021-02-18ast: Stop using `Mod` in `Crate`Vadim Petrochenkov-7/+0
2021-02-03Really fix early lints inside an async desugaringJethro Beekman-4/+4
2021-02-02Fix early lints inside an async desugaringAaron Hill-0/+16
2021-01-22Remove special casing of rustdoc in rustc_lintJoshua Nelson-11/+3
2020-11-03rustc_ast: `visit_mac` -> `visit_mac_call`Vadim Petrochenkov-1/+1
2020-11-03rustc_ast: Do not panic by default when visiting macro callsVadim Petrochenkov-7/+1
2020-10-24Fix inconsistencies in handling of inert attributes on statementsAaron Hill-2/+17
2020-10-16Add check_generic_arg early passSantiago Pastorino-0/+5
2020-08-30mv compiler to compiler/mark-0/+381