about summary refs log tree commit diff
path: root/compiler/rustc_error_codes/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-24 03:43:01 +0000
committerbors <bors@rust-lang.org>2024-09-24 03:43:01 +0000
commitf5cd2c5888011d4d80311e5b771c6da507d860dd (patch)
tree2f7f526d6c4d151c45f557d2073516a7bd4abf86 /compiler/rustc_error_codes/src/lib.rs
parent35daf8b8aa95dee4296bad117c4cb7ecaea7bf4f (diff)
parent2423e9e2441dec751588220c2f0047880c0bcb32 (diff)
downloadrust-f5cd2c5888011d4d80311e5b771c6da507d860dd.tar.gz
rust-f5cd2c5888011d4d80311e5b771c6da507d860dd.zip
Auto merge of #127117 - Urgau:non_local_def-syntactic, r=BoxyUwU
Rework `non_local_definitions` lint to only use a syntactic heuristic

This PR reworks the `non_local_definitions` lint to only use a syntactic heuristic, i.e. not use a type-system logic for whenever an `impl` is local or not.

Instead the new logic wanted by T-lang in https://github.com/rust-lang/rust/issues/126768#issuecomment-2192634762, which is to consider every paths in `Self` and `Trait` and to no longer use the type-system inference trick.

`@rustbot` labels +L-non_local_definitions
Fixes #126768
Diffstat (limited to 'compiler/rustc_error_codes/src/lib.rs')
0 files changed, 0 insertions, 0 deletions