about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/non_local_def.rs
AgeCommit message (Expand)AuthorLines
2025-08-13Rollup merge of #145153 - joshtriplett:macro-kinds-plural, r=petrochenkovGuillaume Gomez-2/+2
2025-08-12Switch to a bitflags `MacroKinds` to support macros with more than one kindJosh Triplett-2/+2
2025-08-11Propagate TraitImplHeader to hirCameron Steffen-2/+2
2025-05-30Reorder fields in `hir::ItemKind` variants.Nicholas Nethercote-1/+1
2025-03-26Add environment variable tracking in places where it was convenientMads Marquart-2/+4
2025-03-18Move `hir::Item::ident` into `hir::ItemKind`.Nicholas Nethercote-3/+3
2025-02-08Rustfmtbjorn3-11/+15
2025-01-27Remove redundant to_ident_string callsMichael Goulet-1/+1
2025-01-23`visit_x_unambig`Boxy-1/+1
2025-01-23Split hir `TyKind` and `ConstArgKind` in two and update `hir::Visitor`Boxy-2/+2
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-11-01Also treat `impl` definition parent as transparent regarding modulesUrgau-2/+8
2024-10-13Also use outermost const-anon for impl items in `non_local_defs` lintUrgau-3/+7
2024-10-11Consider outermost const-anon in non_local_def lintUrgau-31/+59
2024-09-23Remove with/without trait and bounds considerationUrgau-1/+0
2024-09-23Point to every relevant types in the main diagUrgau-55/+17
2024-09-23Rework `non_local_definitions` lint to only be a syntactic heuristicUrgau-215/+24
2024-09-23Revert "Switch back `non_local_definitions` lint to allow-by-default"Urgau-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-23/+19
2024-09-02chore: Fix typos in 'compiler' (batch 1)Alexander Cyon-1/+1
2024-08-27Add `warn(unreachable_pub)` to `rustc_lint`.Nicholas Nethercote-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-9/+8
2024-07-25Support ?Trait bounds in supertraits and dyn Trait under a feature gateBryanskiy-2/+2
2024-07-08Move trait selection error reporting to its own top-level moduleMichael Goulet-2/+2
2024-06-27Switch back `non_local_definitions` lint to allow-by-defaultUrgau-1/+1
2024-06-21Rename a bunch of thingsMichael Goulet-1/+1
2024-06-19Rollup merge of #126422 - Urgau:doctest-impl-non-local-def, r=fmease许杰友 Jieyou Xu (Joe)-38/+45
2024-06-15Also simplify macro_rules doctest codeUrgau-2/+1
2024-06-15Suggest standalone doctest for non-local impl defsUrgau-38/+46
2024-06-15Auto merge of #125722 - Urgau:non_local_defs-macro-to-change, r=estebankbors-0/+8
2024-06-03Fix up comments.Nicholas Nethercote-1/+1
2024-05-29non_local_defs: indicate that the macro needs to changeUrgau-0/+8
2024-05-29Don't require `visit_body` to take a lifetime that must outlive the function ...Oli Scherer-2/+2
2024-05-27non_local_defs: point the parent item when appropriateUrgau-5/+17
2024-05-27non_local_defs: point to Self and Trait to give more contextUrgau-7/+76
2024-05-27non_local_defs: suggest removing leading ref/ptr to make the impl localUrgau-29/+51
2024-05-27non_local_defs: be more precise about what needs to be movedUrgau-2/+38
2024-05-27non_local_defs: use labels to indicate what may need to be movedUrgau-0/+3
2024-05-27non_local_defs: use span of the impl def and not the impl blockUrgau-1/+1
2024-05-27non_local_defs: improve some notes around trait, bounds, constsUrgau-3/+6
2024-05-27non_local_defs: move out from `#[derive(LintDiagnostic)]` to manual implUrgau-1/+0
2024-05-26Give EarlyBinder a tcx parameterMichael Goulet-1/+1
2024-05-18Fix typos (taking into account review comments)blyxyas-1/+1
2024-05-10Use fewer origins when creating type variables.Nicholas Nethercote-2/+1
2024-05-02Rollup merge of #124568 - Urgau:non-local-defs-doctest, r=michaelwoerister,Gu...Guillaume Gomez-0/+9
2024-05-01Adjust `#[macro_export]`/doctest help suggestion for non_local_defs lintUrgau-0/+9
2024-05-01Auto merge of #124539 - Urgau:non-local-defs_modulo_modules, r=lcnrbors-5/+11
2024-04-29Consider inner modules to be local in the `non_local_definitions` lintUrgau-5/+11
2024-04-29Remove `extern crate rustc_session` from `rustc_lint`.Nicholas Nethercote-0/+1
2024-04-21Auto merge of #123594 - Urgau:fix-non_local_def-lint-overflow, r=lcnrbors-1/+13