| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-09-28 | Remove `rustc_lint_defs::lint_array` | DaniPopes | -2/+2 | |
| 2023-09-27 | Use absolute paths in rustc_lint::passes macros | Alex Macleod | -79/+77 | |
| A cosmetic change, so the callsite doesn't have to import things | ||||
| 2023-08-31 | diagnostics: avoid wrong `unused_parens` on `x as (T) < y` | Michael Howell | -0/+1 | |
| 2023-01-28 | Take a LocalDefId in hir::Visitor::visit_fn. | Camille GILLOT | -1/+2 | |
| 2023-01-14 | fix issues in unused lint | yukang | -0/+3 | |
| 2022-12-12 | Reinstate `{Early,Late}LintPassObjects`. | Nicholas Nethercote | -0/+10 | |
| I removed these in #105291, and subsequently learned they are necessary for performance. This commit reinstates them with the new and more descriptive names `RuntimeCombined{Early,Late}LintPass`, similar to the existing passes like `BuiltinCombinedEarlyLintPass`. It also adds some comments, particularly emphasising how we have ways to combine passes at both compile-time and runtime. And it moves some comments around. | ||||
| 2022-12-07 | Rename `$passes` as `$pass` in several macros. | Nicholas Nethercote | -14/+14 | |
| Because it makes more sense that way. | ||||
| 2022-12-07 | Add some useful comments. | Nicholas Nethercote | -0/+4 | |
| 2022-12-07 | Remove `$hir` argument from `late_lint_methods!`. | Nicholas Nethercote | -38/+38 | |
| Because it's always `'tcx`. | ||||
| 2022-12-02 | Auto merge of #104863 - nnethercote:reduce-lint-macros, r=cjgillot | bors | -19/+6 | |
| Reduce macro usage for lints r? `@cjgillot` | ||||
| 2022-12-02 | Remove some unnecessary `Send` bounds. | Nicholas Nethercote | -3/+2 | |
| Required to get the parallel compiler building again. | ||||
| 2022-12-02 | Eliminate four unnecessary lint macros. | Nicholas Nethercote | -16/+4 | |
| The lint definitions use macros heavily. This commit merges some of them that are split unnecessarily. I find the reduced indirection makes it easier to imagine what the generated code will look like. | ||||
| 2022-12-01 | rustc_hir: Relax lifetime requirements on `Visitor::visit_path` | Vadim Petrochenkov | -1/+1 | |
| 2022-09-12 | Remove unused argument from `check_mac_def`. | Nicholas Nethercote | -1/+1 | |
| 2022-09-12 | Remove unused argument from `visit_poly_trait_ref`. | Nicholas Nethercote | -1/+1 | |
| 2022-09-12 | Remove unused span argument from `check_mod` and `process_mod`. | Nicholas Nethercote | -1/+1 | |
| 2022-09-06 | Allow lint passes to be bound by `TyCtxt` | Jason Newcomb | -1/+1 | |
| 2022-08-29 | Remove `Sync` requirement from lint pass objects as they are created on demand | Jason Newcomb | -3/+2 | |
| 2022-08-11 | Simplify `rustc_ast::visit::Visitor::visit_poly_trait_ref`. | Nicholas Nethercote | -2/+1 | |
| It is passed an argument that is never used. | ||||
| 2022-07-29 | Remove some late `check_*` functions. | Nicholas Nethercote | -19/+1 | |
| They're not used by rustc or clippy. | ||||
| 2022-07-29 | Remove some early `check_*` functions. | Nicholas Nethercote | -19/+0 | |
| They're not used by rustc or clippy. | ||||
| 2021-09-30 | Do not pass hir::Crate to lints. | Camille GILLOT | -2/+2 | |
| 2021-07-25 | Add inferred args to typeck | kadmin | -0/+1 | |
| 2021-03-16 | ast/hir: Rename field-related structures | Vadim Petrochenkov | -2/+2 | |
| StructField -> FieldDef ("field definition") Field -> ExprField ("expression field", not "field expression") FieldPat -> PatField ("pattern field", not "field pattern") Also rename visiting and other methods working on them. | ||||
| 2021-02-18 | ast: Stop using `Mod` in `Crate` | Vadim Petrochenkov | -2/+0 | |
| Crate root is sufficiently different from `mod` items, at least at syntactic level. Also remove customization point for "`mod` item or crate root" from AST visitors. | ||||
| 2020-10-16 | Add check_generic_arg early pass | Santiago Pastorino | -0/+2 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+285 | |
