about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/non_local_def.rs
AgeCommit message (Expand)AuthorLines
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
2024-04-15nitsMichael Goulet-8/+4
2024-04-09Fix trait solver overflow with `non_local_definitions` lintUrgau-1/+13
2024-04-08Thread pattern types through the HIROli Scherer-0/+1
2024-04-05Put non_local_definitions lint back to warn-by-defaultUrgau-1/+1
2024-04-05Eliminate false-positives in the non-local lint with the type-systemUrgau-37/+168
2024-03-07Use was_invoked_from_cargo method instead of hand-written oneUrgau-1/+1
2024-03-07Add early-return when checking if a path is localUrgau-2/+4
2024-03-07Remove useless smallvec dependency in rustc_lint::non_local_defUrgau-12/+18
2024-03-06Temporarily make allow-by-default the non_local_definitions lintUrgau-1/+2
2024-02-17Add cargo update suggestion for non local defsUrgau-2/+23
2024-02-17Add const-anon suggestion for non local implUrgau-1/+15
2024-02-17Implement RFC3373 non local definitions lintUrgau-0/+187