summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lib.rs
AgeCommit message (Expand)AuthorLines
2024-10-06Auto merge of #129670 - est31:cfg_attr_crate_type_name_error, r=Urgaubors-0/+5
2024-10-05Make deprecated_cfg_attr_crate_type_name a hard errorest31-0/+5
2024-09-25Stabilize the `map`/`value` methods on `ControlFlow`Scott McMurray-1/+0
2024-09-23add unqualified_local_imports lintRalf Jung-0/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-19/+14
2024-09-20Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errorsbors-0/+3
2024-09-17Mark where_clauses_object_safety as removedMichael Goulet-0/+5
2024-09-14Auto merge of #128543 - RalfJung:const-interior-mut, r=fee1-deadbors-0/+4
2024-09-13Disallow hidden references to mutable staticObei Sideg-0/+3
2024-09-11coalesce lint suggestions that can intersectDing Xiang Fei-1/+1
2024-09-11rescope temp lifetime in let-chain into IfElseDing Xiang Fei-0/+3
2024-09-10const-eval interning: accpt interior mutable pointers in final value (but kee...Ralf Jung-0/+4
2024-09-06Auto merge of #129999 - matthiaskrgr:rollup-pzr9c8p, r=matthiaskrgrbors-0/+1
2024-09-05Review commentsMichael Goulet-0/+1
2024-09-03Add an internal lint that warns when accessing untracked dataNadrieril-0/+1
2024-08-27Add `warn(unreachable_pub)` to `rustc_lint`.Nicholas Nethercote-0/+1
2024-08-24Rollup merge of #129199 - RalfJung:writes_through_immutable_pointer, r=compil...Matthias Krüger-1/+2
2024-08-21lint on tail expr drop order change in Edition 2024Ding Xiang Fei-0/+3
2024-08-17make writes_through_immutable_pointer a hard errorRalf Jung-1/+2
2024-08-05Rollup merge of #127907 - RalfJung:byte_slice_in_packed_struct_with_derive, r...Matthias Krüger-1/+6
2024-07-29Reformat `use` declarations.Nicholas Nethercote-10/+10
2024-07-27built-in derive: remove BYTE_SLICE_IN_PACKED_STRUCT_WITH_DERIVE hack and lintRalf Jung-1/+6
2024-07-26Rollup merge of #127950 - nnethercote:rustfmt-skip-on-use-decls, r=cuviperMatthias Krüger-0/+1
2024-07-25Rollup merge of #121364 - Urgau:unary_precedence, r=compiler-errorsMatthias Krüger-0/+3
2024-07-22Rollup merge of #125990 - tbu-:pr_unsafe_env_lint_name, r=ehussTrevor Gross-0/+2
2024-07-19Use `#[rustfmt::skip]` on some `use` groups to prevent reordering.Nicholas Nethercote-0/+1
2024-07-18Rollup merge of #127854 - fmease:glob-import-type_ir_inherent-lint, r=compile...Matthias Krüger-0/+3
2024-07-18Add internal lint for detecting non-glob imports of `rustc_type_ir::inherent`León Orell Valerian Liehr-0/+3
2024-07-17Rename `deprecated_safe` lint to `deprecated_safe_2024`Tobias Bucher-0/+2
2024-07-17Avoid comments that describe multiple `use` items.Nicholas Nethercote-1/+0
2024-07-12Rollup merge of #126922 - asquared31415:asm_binary_label, r=estebankJubilee-1/+1
2024-07-11Auto merge of #127097 - compiler-errors:async-closure-lint, r=oli-obkbors-0/+3
2024-07-11Implement `ambiguous_negative_literals` lintUrgau-0/+3
2024-07-09Adds expr_2024 migration litVincenzo Palazzo-0/+3
2024-07-09add lint for inline asm labels that look like binaryasquared31415-1/+1
2024-06-28Basic lint detecting closure-returning-async-blockMichael Goulet-0/+3
2024-06-27Remove the `box_pointers` lint.Nicholas Nethercote-1/+4
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-3/+5
2024-05-26Auto merge of #124661 - RalfJung:only-structural-consts-in-patterns, r=pnkfelixbors-0/+10
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_lint`.Nicholas Nethercote-3/+0
2024-05-20Adjust the method ambiguity lint tooMichael Goulet-1/+1
2024-05-20Implement BOXED_SLICE_INTO_ITERMichael Goulet-4/+4
2024-05-13Implement initial IMPL_TRAIT_OVERCAPTURES lintMichael Goulet-0/+3
2024-05-03turn pointer_structural_match into a hard errorRalf Jung-0/+5
2024-05-03remove IndirectStructuralMatch lint, emit the usual hard error insteadRalf Jung-0/+5
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-2/+0
2024-04-29Remove `extern crate rustc_session` from `rustc_lint`.Nicholas Nethercote-2/+0
2024-04-23Rollup merge of #123680 - compiler-errors:gen-kw, r=NadrierilMatthias Krüger-1/+3
2024-04-22Stabilize generic `NonZero`.Markus Reiter-1/+0
2024-04-22Deny gen keyword in edition_2024_compat lintsMichael Goulet-1/+3