about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2024-08-14Auto merge of #129076 - matthiaskrgr:rollup-rg8mi2x, r=matthiaskrgrbors-3/+6
2024-08-14Rollup merge of #129061 - compiler-errors:lang-item, r=UrgauMatthias Krüger-3/+6
2024-08-14Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errorsbors-4/+5
2024-08-13Use is_lang_item moreMichael Goulet-3/+6
2024-08-12Rollup merge of #128886 - GrigorenkoPV:untranslatable-diagnostic, r=nnethercoteGuillaume Gomez-2/+0
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-14/+9
2024-08-10Refactor: `diagnostic_outside_of_impl`, `untranslatable_diagnostic`Pavel Grigorenko-60/+74
2024-08-10`untranslatable_diagnostic` lint: point at the untranslated thingPavel Grigorenko-10/+12
2024-08-10rustc_lint: remove some redundant `#[allow(rustc::untranslatable_diagnostic)]`Pavel Grigorenko-2/+0
2024-08-09diagnostics: do not warn when a lifetime bound infers itselfMichael Howell-6/+15
2024-08-09Shrink `TyKind::FnPtr`.Nicholas Nethercote-4/+5
2024-08-07Auto merge of #128796 - matthiaskrgr:rollup-r7l68ph, r=matthiaskrgrbors-0/+7
2024-08-07unused_parens: do not lint against parens around &rawRalf Jung-0/+7
2024-08-07Disallow setting built-in cfgs via set the command-lineUrgau-0/+17
2024-08-07Make `Span` optional in `BufferedEarlyLint`Urgau-3/+17
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-14/+9
2024-08-06Rollup merge of #128517 - clubby789:overflowing-lit-span, r=petrochenkovMatthias Krüger-9/+13
2024-08-06Rollup merge of #128369 - GrigorenkoPV:let-underscore-translatable, r=davidtwcoMatthias Krüger-8/+9
2024-08-06Add a special case for CStr/CString in the improper_ctypes lintFlying-Toast-15/+44
2024-08-05Rollup merge of #127907 - RalfJung:byte_slice_in_packed_struct_with_derive, r...Matthias Krüger-1/+6
2024-08-03Rollup merge of #128368 - nnethercote:rustfmt-tweaks, r=cuviperMatthias Krüger-2/+2
2024-08-01Fallback to string formatting if source is not availableclubby789-9/+13
2024-08-01interpret: simplify pointer arithmetic logicRalf Jung-5/+1
2024-08-01Auto merge of #128461 - matthiaskrgr:rollup-3dpp11g, r=matthiaskrgrbors-4/+4
2024-07-31Temporarily switch `ambiguous_negative_literals` lint to allowUrgau-1/+2
2024-07-31Introduce REDUNDANT_IMPORTS lintMichael Goulet-4/+4
2024-07-30rustc_lint: make `let-underscore-lock` translatablePavel Grigorenko-8/+9
2024-07-30Insert some blank lines.Nicholas Nethercote-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-272/+265
2024-07-27built-in derive: remove BYTE_SLICE_IN_PACKED_STRUCT_WITH_DERIVE hack and lintRalf Jung-1/+6
2024-07-26Auto merge of #121676 - Bryanskiy:polarity, r=petrochenkovbors-4/+6
2024-07-26Rollup merge of #126575 - fmease:update-lint-type_alias_bounds, r=compiler-er...Trevor Gross-133/+166
2024-07-26Rollup merge of #127950 - nnethercote:rustfmt-skip-on-use-decls, r=cuviperMatthias Krüger-0/+1
2024-07-25Support ?Trait bounds in supertraits and dyn Trait under a feature gateBryanskiy-4/+6
2024-07-25Rollup merge of #121364 - Urgau:unary_precedence, r=compiler-errorsMatthias Krüger-0/+107
2024-07-23Update the description of lint type_alias_boundsLeón Orell Valerian Liehr-9/+21
2024-07-23Make lint type_alias_bounds's removal sugg maybe-incorrect if the RHS contain...León Orell Valerian Liehr-129/+109
2024-07-23Improve the impl and diag output of lint type_alias_boundsLeón Orell Valerian Liehr-111/+148
2024-07-23Suppress lint type_alias_bounds for ty aliases containing const projections u...León Orell Valerian Liehr-0/+10
2024-07-23Don't suppress lint type_alias_bounds for ty aliases containing inherent asso...León Orell Valerian Liehr-17/+11
2024-07-22Rollup merge of #125990 - tbu-:pr_unsafe_env_lint_name, r=ehussTrevor Gross-0/+2
2024-07-19Auto merge of #127956 - tgross35:rollup-8ten7pk, r=tgross35bors-21/+45
2024-07-19Auto merge of #125915 - camelid:const-arg-refactor, r=BoxyUwUbors-1/+1
2024-07-19Rollup merge of #127935 - tgross35:binary_asm_labels-x86-only, r=estebank,UrgauTrevor Gross-21/+45
2024-07-19Update the `binary_asm_label` documentationTrevor Gross-9/+23
2024-07-19Use `#[rustfmt::skip]` on some `use` groups to prevent reordering.Nicholas Nethercote-0/+1
2024-07-18Update the `binary_asm_label` messageTrevor Gross-3/+6
2024-07-18Change `binary_asm_labels` to only fire on x86 and x86_64Trevor Gross-9/+16
2024-07-18Rollup merge of #127854 - fmease:glob-import-type_ir_inherent-lint, r=compile...Matthias Krüger-1/+59
2024-07-18Add internal lint for detecting non-glob imports of `rustc_type_ir::inherent`León Orell Valerian Liehr-1/+59