about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2024-07-09add lint for inline asm labels that look like binaryasquared31415-34/+129
2024-07-08Update a f16/f128 FIXME to be more accurateTrevor Gross-1/+2
2024-07-08Move trait selection error reporting to its own top-level moduleMichael Goulet-3/+3
2024-07-07iter_identity is a better nameMichael Goulet-6/+2
2024-07-05Rollup merge of #127221 - Urgau:check-cfg-std-diag, r=pnkfelixMichael Goulet-6/+12
2024-07-02Instance::resolve -> Instance::try_resolve, and other nitsMichael Goulet-3/+5
2024-07-01Improve well known value check-cfg diagnostic for the standard libraryUrgau-6/+12
2024-06-30Rollup merge of #126018 - nnethercote:rm-box_pointers-lint, r=lcnrMatthias Krüger-86/+7
2024-06-29Rollup merge of #127045 - compiler-errors:explicit, r=oli-obkMatthias Krüger-1/+1
2024-06-28Make it into a structured suggestion, maybe-incorrectMichael Goulet-2/+21
2024-06-28Basic lint detecting closure-returning-async-blockMichael Goulet-0/+113
2024-06-28Only require symbol name for @feature_gateMichael Goulet-5/+4
2024-06-28Rollup merge of #127015 - Urgau:non_local_def-tmp-allow, r=lqdMatthias Krüger-1/+1
2024-06-27Make queries more explicitMichael Goulet-1/+1
2024-06-27Switch back `non_local_definitions` lint to allow-by-defaultUrgau-1/+1
2024-06-27Remove the `box_pointers` lint.Nicholas Nethercote-86/+7
2024-06-25RFC 2383: Stabilize `lint_reasons` :tada:xFrednet-15/+0
2024-06-25Auto merge of #125741 - petrochenkov:atvisord, r=davidtwcobors-0/+10
2024-06-24Split out IntoIterator and non-Iterator constructors for AliasTy/AliasTerm/Tr...Michael Goulet-1/+1
2024-06-24resolve: Implement a lint for out-of-scope use of `macro_rules`Vadim Petrochenkov-0/+10
2024-06-23Add hard error and migration lint for unsafe attrscarbotaniuman-0/+31
2024-06-21Rename a bunch of thingsMichael Goulet-1/+1
2024-06-19Rollup merge of #126422 - Urgau:doctest-impl-non-local-def, r=fmease许杰友 Jieyou Xu (Joe)-46/+55
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-3/+3
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-2/+2
2024-06-17Rework precise capturing syntaxMichael Goulet-8/+12
2024-06-17Rollup merge of #125258 - compiler-errors:static-if-no-lt, r=nnethercote许杰友 Jieyou Xu (Joe)-3/+14
2024-06-16boxed_slice_into_iter: tiny doc correctionKalle Wachsmuth-1/+1
2024-06-15Also simplify macro_rules doctest codeUrgau-10/+6
2024-06-15Suggest standalone doctest for non-local impl defsUrgau-38/+51
2024-06-15Auto merge of #125722 - Urgau:non_local_defs-macro-to-change, r=estebankbors-3/+19
2024-06-14Use is_lang_item more aggressivelyMichael Goulet-10/+10
2024-06-14Resolve elided lifetimes in assoc const to static if no other lifetimes are i...Michael Goulet-3/+14
2024-06-12Auto merge of #126273 - pietroalbini:pa-bootstrap-update, r=Mark-Simulacrumbors-2/+2
2024-06-12Auto merge of #126319 - workingjubilee:rollup-lendnud, r=workingjubileebors-3/+5
2024-06-12Add a `fn main() {}` to a doctest to prevent the test from being wrapped in a...Oli Scherer-0/+2
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-3/+5
2024-06-11Rollup merge of #125659 - tbu-:pr_rm_isize, r=pnkfelix许杰友 Jieyou Xu (Joe)-1/+1
2024-06-11replace version placeholderPietro Albini-2/+2
2024-06-11Rollup merge of #125913 - fmease:early-lints-spruce-up-some-diags, r=Nadrieril许杰友 Jieyou Xu (Joe)-2/+7
2024-06-06Rollup merge of #126040 - Urgau:unreachable_pub-fields-less, r=petrochenkovJubilee-6/+15
2024-06-06Don't warn on fields in the `unreachable_pub` lintUrgau-6/+15
2024-06-06Auto merge of #124482 - spastorino:unsafe-extern-blocks, r=oli-obkbors-3/+13
2024-06-05Make MISSING_UNSAFE_ON_EXTERN lint emit future compat info with suggestion to...Santiago Pastorino-3/+6
2024-06-04Rollup merge of #125596 - nnethercote:rental-hard-error, r=estebankGuillaume Gomez-11/+0
2024-06-04Handle safety keyword for extern block inner itemsSantiago Pastorino-3/+3
2024-06-04Make extern blocks without unsafe warn in edition 2024Santiago Pastorino-0/+7
2024-06-04Rollup merge of #125750 - compiler-errors:expect, r=lcnr许杰友 Jieyou Xu (Joe)-1/+1
2024-06-03Align Term methods with GenericArg methodsMichael Goulet-1/+1
2024-06-03check_is_object_safe -> is_object_safeMichael Goulet-2/+2