about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2024-09-20compiler: reuse {un,}signed_fit in get_type_suggestion (nfc)Jubilee Young-40/+14
2024-09-20compiler: factor OVERFLOWING_LITERALS impl into a file (nfc)Jubilee Young-405/+421
2024-09-20Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errorsbors-0/+189
2024-09-20Add recursion limit to FFI safety lintGurinder Singh-3/+17
2024-09-19warn less about non-exhaustive in ffiJubilee Young-9/+18
2024-09-18Rollup merge of #130507 - Urgau:check-cfg-raw-keywords, r=jieyouxuMatthias Krüger-4/+13
2024-09-18Improve handling of raw-idents in check-cfgUrgau-4/+13
2024-09-17Rollup merge of #130469 - compiler-errors:wc-obj-safety, r=jackh726Matthias Krüger-0/+5
2024-09-17Mark where_clauses_object_safety as removedMichael Goulet-0/+5
2024-09-16Don't ICE in opaque_hidden_inferred_bound lint for RPITIT in trait with no de...Michael Goulet-0/+12
2024-09-15Rollup merge of #130293 - gurry:130142-lint-level-issue, r=cjgillotMatthias Krüger-5/+3
2024-09-15Rollup merge of #130353 - Zalathar:lint-zero, r=jieyouxuStuart Cook-1/+1
2024-09-14Auto merge of #128543 - RalfJung:const-interior-mut, r=fee1-deadbors-0/+4
2024-09-14Rollup merge of #130343 - Fayti1703:patch-correct-async-block-lint-doc, r=com...León Orell Valerian Liehr-0/+1
2024-09-14Rollup merge of #130294 - nnethercote:more-lifetimes, r=lcnrLeón Orell Valerian Liehr-16/+16
2024-09-14Make some lint doctests compatible with `--stage=0`Zalathar-1/+1
2024-09-14Fix lint levels not getting overridden by attrs on `Stmt` nodesGurinder Singh-5/+3
2024-09-14docs: Enable required feature for 'closure_returning_async_block' lintFayti1703-0/+1
2024-09-13Disallow hidden references to mutable staticObei Sideg-0/+189
2024-09-13some fixes for clashing_extern_declarations lintRalf Jung-39/+35
2024-09-13Rename and reorder lots of lifetimes.Nicholas Nethercote-13/+13
2024-09-13Remove unnecessary lifetime from `BuiltinTypeAliasBounds`.Nicholas Nethercote-3/+3
2024-09-13Auto merge of #107251 - dingxiangfei2009:let-chain-rescope, r=jieyouxubors-0/+433
2024-09-13simplify the suggestion notesDing Xiang Fei-108/+123
2024-09-12Rollup merge of #130235 - compiler-errors:nested-if, r=michaelwoeristerStuart Cook-4/+2
2024-09-11Rollup merge of #130114 - eduardosm:needless-returns, r=compiler-errorsJubilee-1/+1
2024-09-11Simplify some nested if statementsMichael Goulet-4/+2
2024-09-11Auto merge of #130050 - cjgillot:expect-attr-id, r=fee1-deadbors-51/+39
2024-09-11coalesce lint suggestions that can intersectDing Xiang Fei-109/+212
2024-09-11rescope temp lifetime in let-chain into IfElseDing Xiang Fei-0/+315
2024-09-10Auto merge of #130025 - Urgau:missing_docs-expect, r=petrochenkovbors-6/+0
2024-09-10const-eval interning: accpt interior mutable pointers in final value (but kee...Ralf Jung-0/+4
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-1/+1
2024-09-07Rollup merge of #126452 - compiler-errors:raw-lifetimes, r=spastorinoMatthias Krüger-5/+31
2024-09-06Check AttrId for expectations.Camille GILLOT-51/+39
2024-09-06Lint against keyword lifetimes in keyword_identsMichael Goulet-5/+18
2024-09-06Add initial support for raw lifetimesMichael Goulet-0/+13
2024-09-06Hack around a conflict with `clippy::needless_lifetimes`Pavel Grigorenko-0/+7
2024-09-06elided_named_lifetimes: manually implement `LintDiagnostic`Pavel Grigorenko-31/+48
2024-09-06elided_named_lifetimes: add suggestionsPavel Grigorenko-16/+30
2024-09-06elided_named_lifetimes: unify lint def & pass MissingLifetimeKindPavel Grigorenko-10/+13
2024-09-06Also emit `missing_docs` lint with `--test` to fulfill expectationsUrgau-6/+0
2024-09-06Rollup merge of #129969 - GrigorenkoPV:boxed-ty, r=compiler-errorsMatthias Krüger-10/+8
2024-09-06Auto merge of #129999 - matthiaskrgr:rollup-pzr9c8p, r=matthiaskrgrbors-3/+29
2024-09-06Make `Ty::boxed_ty` return an `Option`Pavel Grigorenko-10/+8
2024-09-05Review commentsMichael Goulet-48/+40
2024-09-05Do less work on the good pathMichael Goulet-110/+113
2024-09-05Don't worry about uncaptured contravariant lifetimes if they outlive a captur...Michael Goulet-21/+226
2024-09-03Add an internal lint that warns when accessing untracked dataNadrieril-3/+29
2024-09-02Rollup merge of #129877 - Sajjon:sajjon_fix_typos_batch_2, r=fee1-deadMatthias Krüger-1/+1