about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2024-09-23Revert "Add recursion limit to FFI safety lint"Michael Goulet-19/+3
2024-09-23add unqualified_local_imports lintRalf Jung-0/+98
2024-09-23Remove with/without trait and bounds considerationUrgau-12/+2
2024-09-23Point to every relevant types in the main diagUrgau-67/+17
2024-09-23Rework `non_local_definitions` lint to only be a syntactic heuristicUrgau-239/+24
2024-09-23Revert "Switch back `non_local_definitions` lint to allow-by-default"Urgau-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-619/+483
2024-09-21compiler: Accept "improper" ctypes in extern "rust-cold" fnJubilee Young-1/+4
2024-09-21Auto merge of #130599 - jieyouxu:snake_case_binary_cleanup, r=petrochenkovbors-0/+3
2024-09-21Explain why non_snake_case is skipped for binary crates许杰友 Jieyou Xu (Joe)-0/+3
2024-09-21Rollup merge of #130646 - workingjubilee:literally-factorize-int-lint, r=comp...Matthias Krüger-405/+395
2024-09-21Rollup merge of #130598 - gurry:130310-improper-types-stack-overflow, r=compi...Matthias Krüger-3/+19
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/+196
2024-09-20Add recursion limit to FFI safety lintGurinder Singh-3/+19
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/+196
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/+438
2024-09-13simplify the suggestion notesDing Xiang Fei-111/+124
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-110/+215
2024-09-11rescope temp lifetime in let-chain into IfElseDing Xiang Fei-0/+320
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/+35
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/+17
2024-09-06Hack around a conflict with `clippy::needless_lifetimes`Pavel Grigorenko-0/+7