about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
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/+13
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-6/+7
2024-08-06Add a special case for CStr/CString in the improper_ctypes lintFlying-Toast-15/+39
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-07-31Temporarily switch `ambiguous_negative_literals` lint to allowUrgau-1/+2
2024-07-30rustc_lint: make `let-underscore-lock` translatablePavel Grigorenko-6/+7
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-126/+154
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/+102
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-104/+136
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-19/+42
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-19/+42
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-1/+3
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/+56
2024-07-18Add internal lint for detecting non-glob imports of `rustc_type_ir::inherent`León Orell Valerian Liehr-1/+56
2024-07-17Rename `deprecated_safe` lint to `deprecated_safe_2024`Tobias Bucher-0/+2
2024-07-16hir: Create `hir::ConstArgKind` enumNoah Lev-1/+1
2024-07-17Avoid comments that describe multiple `use` items.Nicholas Nethercote-1/+0
2024-07-12Rollup merge of #127631 - compiler-errors:yeet-fully-norm, r=lcnrJubilee-13/+14
2024-07-12Rollup merge of #127535 - spastorino:unsafe_code-unsafe_extern_blocks, r=oli-obkJubilee-0/+8
2024-07-12Rollup merge of #126922 - asquared31415:asm_binary_label, r=estebankJubilee-34/+129
2024-07-11Remove fully_normalizeMichael Goulet-13/+14
2024-07-11Auto merge of #127097 - compiler-errors:async-closure-lint, r=oli-obkbors-5/+136
2024-07-11Implement `ambiguous_negative_literals` lintUrgau-0/+102
2024-07-10Auto merge of #127549 - jhpratt:rollup-o1mbmhr, r=jhprattbors-0/+165
2024-07-10Rollup merge of #125627 - vincenzopalazzo:macros/cargo-fix-expr2024, r=compil...Jacob Pratt-0/+165
2024-07-10Auto merge of #127496 - tgross35:f16-f128-pattern-fixme, r=Nadrierilbors-1/+2
2024-07-09Fire unsafe_code lint on unsafe extern blocksSantiago Pastorino-0/+8
2024-07-09Adds expr_2024 migration litVincenzo Palazzo-0/+165