about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lib.rs
AgeCommit message (Expand)AuthorLines
2024-12-17Remove `rustc::existing_doc_keyword` lint.Nicholas Nethercote-3/+0
2024-11-28Implement lint against `Symbol::intern` on a string literalclubby789-0/+2
2024-11-20reduce false positives of tail-expr-drop-order from consumed valuesDing Xiang Fei-3/+0
2024-10-29Auto merge of #128985 - GrigorenkoPV:instantly-dangling-pointer, r=Urgaubors-3/+4
2024-10-28New lint: `dangling_pointers_from_temporaries`Pavel Grigorenko-3/+4
2024-10-27Clean up some comments on lint implementationEric Huss-9/+3
2024-10-26Auto merge of #125116 - blyxyas:ignore-allowed-lints-final, r=cjgillotbors-13/+13
2024-10-20make unsupported_calling_conventions a hard errorRalf Jung-0/+1
2024-10-19Remove module passes filteringblyxyas-11/+11
2024-10-19Follow review comments (optimize the filtering)blyxyas-1/+1
2024-10-19Do not run lints that cannot emitblyxyas-12/+12
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