summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2024-11-07Also treat `impl` definition parent as transparent regarding modulesUrgau-2/+8
2024-10-17Also use outermost const-anon for impl items in `non_local_defs` lintUrgau-3/+7
2024-10-11Rollup merge of #131565 - Urgau:non_local_def-rm-deprecate, r=compiler-errorsTrevor Gross-3/+0
2024-10-11Rollup merge of #131546 - surechen:fix_129833, r=jieyouxuTrevor Gross-1/+9
2024-10-12Make unused_parens's suggestion considering expr's attributessurechen-1/+9
2024-10-11Remove deprecation note in the `non_local_definitions` warningUrgau-3/+0
2024-10-11Rollup merge of #131498 - Urgau:transparent-const-anons, r=lcnrMatthias Krüger-31/+59
2024-10-11Consider outermost const-anon in non_local_def lintUrgau-31/+59
2024-10-08Reserve guarded string literals (RFC 3593)Peter Jaszkowiak-0/+10
2024-10-07Auto merge of #131354 - matthiaskrgr:rollup-hprnng2, r=matthiaskrgrbors-3/+2
2024-10-07Auto merge of #131235 - codemountains:rename-nestedmetaitem-to-metaitemlnner,...bors-1/+1
2024-10-07Remove an unnecessary `&Lrc<_>` local variable.Nicholas Nethercote-3/+2
2024-10-06Auto merge of #129670 - est31:cfg_attr_crate_type_name_error, r=Urgaubors-14/+5
2024-10-06Rename NestedMetaItem to MetaItemInnercodemountains-1/+1
2024-10-05Auto merge of #129244 - cjgillot:opaque-hir, r=compiler-errorsbors-8/+8
2024-10-05Make deprecated_cfg_attr_crate_type_name a hard errorest31-14/+5
2024-10-04rm `ItemKind::OpaqueTy`Noah Lev-8/+8
2024-10-04Rollup merge of #130518 - scottmcm:stabilize-controlflow-extra, r=dtolnayJubilee-1/+0
2024-10-04Auto merge of #130157 - eduardosm:stabilize-const_float_classify, r=RalfJungbors-14/+10
2024-10-02Move in_trait into OpaqueTyOriginMichael Goulet-4/+6
2024-10-02Use named fields for OpaqueTyOriginMichael Goulet-5/+5
2024-09-30Rollup merge of #131035 - dingxiangfei2009:tweak-if-let-rescope-lint, r=jieyouxuMatthias Krüger-2/+28
2024-09-30apply suggestionsDing Xiang Fei-1/+2
2024-09-30preserve brackets around if-lets and skip while-letsDing Xiang Fei-2/+27
2024-09-29cleanup: don't `.into()` identical typesMatthias Krüger-1/+1
2024-09-28Rollup merge of #130924 - surechen:fix_130851, r=compiler-errorsMatthias Krüger-3/+3
2024-09-27Rollup merge of #130826 - fmease:compiler-mv-obj-safe-dyn-compat, r=compiler-...Matthias Krüger-4/+4
2024-09-27Make clashing_extern_declarations considering generic args for ADT fieldsurechen-3/+3
2024-09-26Fix the misleading diagnostic for let_underscore_drop on type without Drop im...makai410-1/+1
2024-09-25Stabilize the `map`/`value` methods on `ControlFlow`Scott McMurray-1/+0
2024-09-25Revert "Avoid invalid NaN lint machine-applicable suggestion in const context"Eduardo Sánchez Muñoz-14/+10
2024-09-25Compiler: Rename "object safe" to "dyn compatible"León Orell Valerian Liehr-4/+4
2024-09-24Auto merge of #130768 - compiler-errors:rollup-8ncjy55, r=compiler-errorsbors-17/+3
2024-09-23Rollup merge of #130758 - compiler-errors:ctype-recursion-limit, r=jieyouxuMichael Goulet-17/+3
2024-09-24Auto merge of #127117 - Urgau:non_local_def-syntactic, r=BoxyUwUbors-306/+40
2024-09-23Revert "Add recursion limit to FFI safety lint"Michael Goulet-17/+3
2024-09-23add unqualified_local_imports lintRalf Jung-0/+96
2024-09-23Remove with/without trait and bounds considerationUrgau-9/+1
2024-09-23Point to every relevant types in the main diagUrgau-63/+17
2024-09-23Rework `non_local_definitions` lint to only be a syntactic heuristicUrgau-236/+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/+17
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