about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lints.rs
AgeCommit message (Expand)AuthorLines
2024-09-07Rollup merge of #126452 - compiler-errors:raw-lifetimes, r=spastorinoMatthias Krüger-1/+11
2024-09-06Lint against keyword lifetimes in keyword_identsMichael Goulet-1/+2
2024-09-06Add initial support for raw lifetimesMichael Goulet-0/+9
2024-09-06Hack around a conflict with `clippy::needless_lifetimes`Pavel Grigorenko-0/+7
2024-09-06elided_named_lifetimes: manually implement `LintDiagnostic`Pavel Grigorenko-6/+41
2024-09-06elided_named_lifetimes: add suggestionsPavel Grigorenko-1/+1
2024-09-03Add an internal lint that warns when accessing untracked dataNadrieril-0/+7
2024-09-01Deny imports of rustc_type_ir::inherent outside of type ir + new trait solverMichael Goulet-0/+5
2024-08-31Implement `elided_named_lifetimes` lintPavel Grigorenko-0/+10
2024-08-27Add `warn(unreachable_pub)` to `rustc_lint`.Nicholas Nethercote-247/+247
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-4/+4
2024-08-07Disallow setting built-in cfgs via set the command-lineUrgau-0/+10
2024-07-30rustc_lint: make `let-underscore-lock` translatablePavel Grigorenko-0/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-18/+17
2024-07-26Rollup merge of #126575 - fmease:update-lint-type_alias_bounds, r=compiler-er...Trevor Gross-74/+67
2024-07-25Rollup merge of #121364 - Urgau:unary_precedence, r=compiler-errorsMatthias Krüger-0/+29
2024-07-23Make lint type_alias_bounds's removal sugg maybe-incorrect if the RHS contain...León Orell Valerian Liehr-86/+61
2024-07-23Improve the impl and diag output of lint type_alias_boundsLeón Orell Valerian Liehr-65/+83
2024-07-19Rollup merge of #127935 - tgross35:binary_asm_labels-x86-only, r=estebank,UrgauTrevor Gross-1/+3
2024-07-18Update the `binary_asm_label` messageTrevor Gross-1/+3
2024-07-18Add internal lint for detecting non-glob imports of `rustc_type_ir::inherent`León Orell Valerian Liehr-0/+8
2024-07-12Rollup merge of #127535 - spastorino:unsafe_code-unsafe_extern_blocks, r=oli-obkJubilee-0/+2
2024-07-12Rollup merge of #126922 - asquared31415:asm_binary_label, r=estebankJubilee-4/+26
2024-07-11Implement `ambiguous_negative_literals` lintUrgau-0/+29
2024-07-09Fire unsafe_code lint on unsafe extern blocksSantiago Pastorino-0/+2
2024-07-09Adds expr_2024 migration litVincenzo Palazzo-0/+7
2024-07-09add lint for inline asm labels that look like binaryasquared31415-4/+26
2024-06-27Remove the `box_pointers` lint.Nicholas Nethercote-6/+0
2024-06-24resolve: Implement a lint for out-of-scope use of `macro_rules`Vadim Petrochenkov-0/+7
2024-06-23Add hard error and migration lint for unsafe attrscarbotaniuman-0/+21
2024-06-19Rollup merge of #126422 - Urgau:doctest-impl-non-local-def, r=fmease许杰友 Jieyou Xu (Joe)-8/+10
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-17Rollup merge of #125258 - compiler-errors:static-if-no-lt, r=nnethercote许杰友 Jieyou Xu (Joe)-0/+2
2024-06-15Also simplify macro_rules doctest codeUrgau-8/+5
2024-06-15Suggest standalone doctest for non-local impl defsUrgau-0/+5
2024-06-15Auto merge of #125722 - Urgau:non_local_defs-macro-to-change, r=estebankbors-3/+11
2024-06-14Resolve elided lifetimes in assoc const to static if no other lifetimes are i...Michael Goulet-0/+2
2024-06-11Rollup merge of #125913 - fmease:early-lints-spruce-up-some-diags, r=Nadrieril许杰友 Jieyou Xu (Joe)-0/+4
2024-06-06Auto merge of #124482 - spastorino:unsafe-extern-blocks, r=oli-obkbors-0/+7
2024-06-05Make MISSING_UNSAFE_ON_EXTERN lint emit future compat info with suggestion to...Santiago Pastorino-1/+4
2024-06-04Rollup merge of #125596 - nnethercote:rental-hard-error, r=estebankGuillaume Gomez-8/+0
2024-06-04Make extern blocks without unsafe warn in edition 2024Santiago Pastorino-0/+4
2024-06-03Spruce up the diagnostics of some early lintsLeón Orell Valerian Liehr-0/+4
2024-05-29non_local_defs: move cargo update suggestion upperUrgau-3/+3
2024-05-29non_local_defs: indicate that the macro needs to changeUrgau-0/+8
2024-05-29Change lint_dropping_copy_types to use UseLetUnderscoreIgnoreSuggestion as su...surechen-14/+1
2024-05-29 Let lint_forgetting_references give the suggestion if possiblesurechen-6/+11
2024-05-29 Let lint_forgetting_copy_types give the suggestion if possible.surechen-1/+2
2024-05-29Let lint_dropping_references give the suggestion if possible.surechen-1/+15