| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-08-15 | Fix wrong spans with external macros in the `dropping_copy_types` lint | Urgau | -1/+1 | |
| 2025-02-21 | Move methods from Map to TyCtxt, part 3. | Nicholas Nethercote | -1/+1 | |
| Continuing the work from #137162. Every method gains a `hir_` prefix. | ||||
| 2025-02-08 | Rustfmt | bjorn3 | -20/+32 | |
| 2024-12-02 | remove `Ty::is_copy_modulo_regions` | lcnr | -1/+1 | |
| 2024-11-19 | move `fn is_item_raw` to `TypingEnv` | lcnr | -1/+1 | |
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -32/+20 | |
| 2024-08-22 | Fix handling of macro arguments within the `dropping_copy_types lint | Urgau | -2/+3 | |
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -6/+4 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-05-29 | Change lint_dropping_copy_types to use UseLetUnderscoreIgnoreSuggestion as ↵ | surechen | -17/+7 | |
| suggestion. | ||||
| 2024-05-29 | Let lint_forgetting_references give the suggestion if possible | surechen | -14/+25 | |
| 2024-05-29 | Let lint_forgetting_copy_types give the suggestion if possible. | surechen | -1/+1 | |
| 2024-05-29 | Let lint_dropping_references give the suggestion if possible. | surechen | -2/+14 | |
| 2024-05-29 | Auto merge of #125433 - surechen:fix_125189, r=Urgau | bors | -4/+17 | |
| A small diagnostic improvement for dropping_copy_types For a value `m` which implements `Copy` trait, `drop(m);` does nothing. We now suggest user to ignore it by a abstract and general note: `let _ = ...`. I think we can give a clearer note here: `let _ = m;` fixes #125189 <!-- If this PR is related to an unstable feature or an otherwise tracked effort, please link to the relevant tracking issue here. If you don't know of a related tracking issue or there are none, feel free to ignore this. This PR will get automatically assigned to a reviewer. In case you would like a specific user to review your work, you can assign it to them by using r? <reviewer name> --> | ||||
| 2024-05-24 | A small diagnostic improvement for dropping_copy_types | surechen | -4/+17 | |
| fixes #125189 | ||||
| 2024-04-29 | Remove `extern crate rustc_session` from `rustc_lint`. | Nicholas Nethercote | -0/+1 | |
| 2024-02-10 | hir: Remove `hir::Map::{opt_parent_id,parent_id,get_parent,find_parent}` | Vadim Petrochenkov | -2/+1 | |
| 2024-01-23 | Rename `LintContext::emit_spanned_lint` as `LintContext::emit_span_lint`. | Nicholas Nethercote | -5/+5 | |
| 2023-10-13 | Format all the let chains in compiler | Michael Goulet | -10/+29 | |
| 2023-07-01 | Fix dropping_copy_types lint from linting in match-arm with side-effects | Urgau | -1/+1 | |
| 2023-06-08 | Uplift clippy::undropped_manually_drops to rustc | Urgau | -2/+42 | |
| 2023-05-21 | Rename `forget_ref` lint to `forgetting_references` | Urgau | -4/+4 | |
| 2023-05-21 | Rename `drop_ref` lint to `dropping_references` | Urgau | -4/+4 | |
| 2023-05-21 | Rename `forget_copy` lint to `forgetting_copy_types` | Urgau | -4/+4 | |
| 2023-05-21 | Rename `drop_copy` lint to `dropping_copy_types` | Urgau | -4/+4 | |
| 2023-05-10 | Use label instead of note to be more consistent with other lints | Urgau | -4/+4 | |
| 2023-05-10 | Uplift clippy::forget_copy to rustc | Urgau | -2/+36 | |
| 2023-05-10 | Uplift clippy::forget_ref to rustc | Urgau | -2/+28 | |
| 2023-05-10 | Uplift clippy::drop_copy to rustc | Urgau | -2/+30 | |
| 2023-05-10 | Uplift clippy::drop_ref to rustc | Urgau | -0/+76 | |
