about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lints.rs
AgeCommit message (Expand)AuthorLines
2025-05-30Rollup merge of #133823 - estebank:issue-56328, r=petrochenkovMatthias Krüger-1/+3
2025-05-29Use `cfg_attr` AST placeholder AST `cfg_attr_trace` for diagnosticsEsteban Küber-1/+3
2025-05-27Rollup merge of #141536 - Urgau:ambi_wide_ptr-cmp-diag, r=fee1-deadMichael Goulet-42/+68
2025-05-25Improve `ambiguous_wide_pointer_comparisons` lint compare diagnosticsUrgau-42/+68
2025-05-23Suggest correct `version("..")` predicate syntax in check-cfgUrgau-0/+10
2025-05-14Use more subdiagnostics and reword the overloaded deref noteUrgau-8/+24
2025-05-14Improve `dangerous_implicit_aurorefs` diagnostic outputUrgau-1/+12
2025-04-20Implement lint against dangerous implicit autorefsUrgau-0/+20
2025-04-16Move eager translation to a method on `Diag`Jake Goulding-36/+8
2025-04-08Remove unnecessary dyn Display in favor of strMichael Goulet-1/+1
2025-03-31Auto merge of #119220 - Urgau:uplift-invalid_null_ptr_usage, r=fee1-deadbors-5/+21
2025-03-30Uplift `clippy::invalid_null_ptr_usage` as `invalid_null_arguments`Urgau-0/+16
2025-03-30Improve explicitness of the impl of the `useless_ptr_null_checks` lintUrgau-5/+5
2025-03-26Implement lint against using Interner and InferCtxtLike in random compiler cr...Michael Goulet-0/+5
2025-02-20Reword messageEsteban Küber-1/+1
2025-02-19Specify scope in `out_of_scope_macro_calls` lintEsteban Küber-0/+3
2025-02-11compiler: replace ExternAbi::name calls with formattersJubilee Young-2/+3
2025-01-27Rollup merge of #136114 - compiler-errors:more-idents, r=jieyouxuGuillaume Gomez-2/+2
2025-01-27Use identifiers in diagnostics more oftenMichael Goulet-2/+2
2025-01-26implement lint `double_negations`Kalle Wachsmuth-0/+18
2025-01-25Rollup merge of #133951 - bjorn3:wasm_c_abi_lint_hard_error, r=workingjubileeJacob Pratt-4/+0
2025-01-25Rollup merge of #134300 - RalfJung:remove-dead-attrs, r=chenyukangMatthias Krüger-13/+0
2025-01-24Auto merge of #135272 - BoxyUwU:generic_arg_infer_reliability_2, r=compiler-e...bors-1/+2
2025-01-23Make the wasm_c_abi future compat warning a hard errorbjorn3-4/+0
2025-01-23Rollup merge of #135552 - amy-kwan:amy-kwan/reprc-struct-diagnostic-power-ali...Matthias Krüger-0/+4
2025-01-23`visit_x_unambig`Boxy-1/+1
2025-01-23Split hir `TyKind` and `ConstArgKind` in two and update `hir::Visitor`Boxy-1/+2
2025-01-22Rollup merge of #132983 - Anthony-Eid:dangling-pointers-lint, r=UrgauMatthias Krüger-1/+3
2025-01-22[AIX] Lint on structs that have a different alignment in AIX's C ABIAmy Kwan-0/+4
2025-01-21remove long-deprecated no-op attributes no_start and crate_idRalf Jung-13/+0
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-5/+3
2024-12-17Rollup merge of #134202 - nnethercote:rm-existing_doc_keyword, r=GuillaumeGomezJacob Pratt-7/+0
2024-12-17Remove `rustc::existing_doc_keyword` lint.Nicholas Nethercote-7/+0
2024-12-15Fix trimmed_def_paths ICE in the function ptr comparison lintUrgau-18/+36
2024-12-15Improve check-cfg Cargo macro diagnostic with crate nameUrgau-2/+1
2024-12-14Rollup merge of #133221 - Urgau:check-cfg-macro-diag, r=jieyouxuMatthias Krüger-4/+40
2024-12-09Revert #131669 due to ICEs许杰友 Jieyou Xu (Joe)-36/+9
2024-12-06lint: revamp ImproperCTypes diagnostic architecture for nested notes and help...niacdoial-9/+36
2024-12-05Update compiler/rustc_lint/src/lints.rsAnthony Eid-2/+3
2024-12-05Start work on dangling pointers lintAnthony Eid-0/+1
2024-12-05Rollup merge of #118833 - Urgau:lint_function_pointer_comparisons, r=cjgillotLeón Orell Valerian Liehr-0/+36
2024-12-03Rollup merge of #133545 - clubby789:symbol-intern-lit, r=jieyouxuMatthias Krüger-0/+5
2024-12-02Add warn-by-default lint against unpredictable fn pointer comparisonsUrgau-0/+36
2024-11-28Implement lint against `Symbol::intern` on a string literalclubby789-0/+5
2024-11-28Rollup merge of #133487 - pitaj:reserve-guarded-strings, r=fee1-deadGuillaume Gomez-0/+7
2024-11-25fix confusing diagnostic for reserved `##`Peter Jaszkowiak-0/+7
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-1/+1
2024-11-19Add external macro specific diagnostic to check-cfgUrgau-4/+40
2024-11-04Prefer `pub(super)` in `unreachable_pub` lint suggestionUrgau-1/+2
2024-10-31Improve the missing_abi lint.Mara Bos-3/+1