about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/drop_forget_useless.rs
AgeCommit message (Expand)AuthorLines
2025-08-15Fix wrong spans with external macros in the `dropping_copy_types` lintUrgau-1/+1
2025-02-21Move methods from Map to TyCtxt, part 3.Nicholas Nethercote-1/+1
2025-02-08Rustfmtbjorn3-20/+32
2024-12-02remove `Ty::is_copy_modulo_regions`lcnr-1/+1
2024-11-19move `fn is_item_raw` to `TypingEnv`lcnr-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-32/+20
2024-08-22Fix handling of macro arguments within the `dropping_copy_types lintUrgau-2/+3
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+4
2024-05-29Change lint_dropping_copy_types to use UseLetUnderscoreIgnoreSuggestion as su...surechen-17/+7
2024-05-29 Let lint_forgetting_references give the suggestion if possiblesurechen-14/+25
2024-05-29 Let lint_forgetting_copy_types give the suggestion if possible.surechen-1/+1
2024-05-29Let lint_dropping_references give the suggestion if possible.surechen-2/+14
2024-05-29Auto merge of #125433 - surechen:fix_125189, r=Urgaubors-4/+17
2024-05-24A small diagnostic improvement for dropping_copy_typessurechen-4/+17
2024-04-29Remove `extern crate rustc_session` from `rustc_lint`.Nicholas Nethercote-0/+1
2024-02-10hir: Remove `hir::Map::{opt_parent_id,parent_id,get_parent,find_parent}`Vadim Petrochenkov-2/+1
2024-01-23Rename `LintContext::emit_spanned_lint` as `LintContext::emit_span_lint`.Nicholas Nethercote-5/+5
2023-10-13Format all the let chains in compilerMichael Goulet-10/+29
2023-07-01Fix dropping_copy_types lint from linting in match-arm with side-effectsUrgau-1/+1
2023-06-08Uplift clippy::undropped_manually_drops to rustcUrgau-2/+42
2023-05-21Rename `forget_ref` lint to `forgetting_references`Urgau-4/+4
2023-05-21Rename `drop_ref` lint to `dropping_references`Urgau-4/+4
2023-05-21Rename `forget_copy` lint to `forgetting_copy_types`Urgau-4/+4
2023-05-21Rename `drop_copy` lint to `dropping_copy_types`Urgau-4/+4
2023-05-10Use label instead of note to be more consistent with other lintsUrgau-4/+4
2023-05-10Uplift clippy::forget_copy to rustcUrgau-2/+36
2023-05-10Uplift clippy::forget_ref to rustcUrgau-2/+28
2023-05-10Uplift clippy::drop_copy to rustcUrgau-2/+30
2023-05-10Uplift clippy::drop_ref to rustcUrgau-0/+76