about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-1/+1
2022-12-20Auto merge of #105880 - Nilstrieb:make-newtypes-less-not-rust, r=oli-obkbors-2/+2
2022-12-19Fix stack overflow in recursive AST walk in early lintUlrich Weigand-1/+2
2022-12-18Rollup merge of #105873 - matthiaskrgr:clippy_fmt, r=NilstriebMatthias Krüger-3/+3
2022-12-18Rollup merge of #105869 - matthiaskrgr:clone_on_copy, r=compiler-errorsMatthias Krüger-2/+2
2022-12-18A few small cleanups for `newtype_index`Nilstrieb-1/+1
2022-12-18Make `#[custom_encodable]` an attribute for `newtype_index`Nilstrieb-1/+1
2022-12-18don't restuct references just to reborrowMatthias Krüger-6/+6
2022-12-18use &str / String literals instead of format!()Matthias Krüger-3/+3
2022-12-18don't clone Copy typesMatthias Krüger-2/+2
2022-12-17Rollup merge of #105768 - fee1-dead-contrib:iat-style, r=eholkMatthias Krüger-1/+11
2022-12-16Detect inherent associated types not having CamelCaseDeadbeef-1/+11
2022-12-14Ensure no one constructs `AliasTy`s themselvesOli Scherer-3/+3
2022-12-14Remove many more cases of `mk_substs_trait` that can now use the iterator sch...Oli Scherer-1/+1
2022-12-13Combine projection and opaque into aliasMichael Goulet-9/+11
2022-12-13squash OpaqueTy and ProjectionTy into AliasTyMichael Goulet-3/+3
2022-12-13ProjectionTy.item_def_id -> ProjectionTy.def_idMichael Goulet-2/+2
2022-12-13Use ty::OpaqueTy everywhereMichael Goulet-3/+3
2022-12-12Speed up the "builtin lints only" case.Nicholas Nethercote-7/+51
2022-12-12Reinstate `{Early,Late}LintPassObjects`.Nicholas Nethercote-40/+106
2022-12-12Rename `run_early_passes` as `lint_callback`.Nicholas Nethercote-28/+28
2022-12-11Rollup merge of #105537 - kadiwa4:remove_some_imports, r=fee1-deadMatthias Krüger-2/+1
2022-12-10Auto merge of #105416 - nnethercote:more-linting-tweaks, r=cjgillotbors-58/+80
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-2/+1
2022-12-10Rollup merge of #105505 - WaffleLapkin:yeet_unused_parens_lint, r=fee1-deadMatthias Krüger-1/+4
2022-12-09Account for macros in const genericsEsteban Küber-0/+1
2022-12-09Rollup merge of #102406 - mejrs:missing_copy, r=wesleywiserMatthias Krüger-1/+31
2022-12-09Don't warn about unused parens when they are used by yeet exprMaybe Waffle-1/+4
2022-12-09Implement allow-by-default multiple_supertrait_upcastable lintGary Guo-0/+66
2022-12-07Rollup merge of #105267 - compiler-errors:issue-104613, r=oli-obkMatthias Krüger-1/+1
2022-12-07Split `EarlyContextAndPasses::check_id` in two.Nicholas Nethercote-2/+9
2022-12-07Inline some hot lint pass functions.Nicholas Nethercote-0/+6
2022-12-07Rename `$passes` as `$pass` in several macros.Nicholas Nethercote-14/+14
2022-12-07Add some useful comments.Nicholas Nethercote-1/+12
2022-12-07Remove `$hir` argument from `late_lint_methods!`.Nicholas Nethercote-42/+40
2022-12-07Auto merge of #105291 - nnethercote:remove-LintPassObjects, r=cjgillotbors-100/+51
2022-12-06Rollup merge of #105004 - TaKO8Ki:fix-104897, r=wesleywiserMatthias Krüger-5/+26
2022-12-06Rollup merge of #104898 - oli-obk:group_all_the_things, r=wesleywiserMatthias Krüger-1/+1
2022-12-05Remove `{Early,Late}LintPassObjects`.Nicholas Nethercote-100/+51
2022-12-04drive-by: move field_index to typeck resultsMichael Goulet-1/+1
2022-12-02Auto merge of #104863 - nnethercote:reduce-lint-macros, r=cjgillotbors-336/+157
2022-12-02return when expr has errorTakayuki Maeda-5/+26
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 some unnecessary `Send` bounds.Nicholas Nethercote-3/+2
2022-12-02Inline and remove `late_lint_pass_crate`.Nicholas Nethercote-14/+9
2022-12-02Inline and remove `late_lint_mod_pass`.Nicholas Nethercote-17/+8
2022-12-02Merge `builtins` into `LateLintPassObjects`.Nicholas Nethercote-13/+7
2022-12-02Remove six macros relating to lint definitions.Nicholas Nethercote-119/+103
2022-12-02Remove `-Zno-interleave-lints`.Nicholas Nethercote-108/+24