rust-analyzer/crates/hir-def
bors af488c971f Auto merge of #17352 - roife:fix-issue-17338, r=Veykril
fix: do not resolve prelude within block modules

fix #17338 (continuing from #17251).

In #17251, we injected preludes into non-top-level modules, which leading to r-a to directly resolve names in preludes in block modules. This PR fix it by checking whether the module is a pseudo-module introduced by blocks. (similar to what we do for extern preludes)
2024-06-06 09:40:39 +00:00
..
src Auto merge of #17352 - roife:fix-issue-17338, r=Veykril 2024-06-06 09:40:39 +00:00
Cargo.toml Add in-rust-tree feature to hir-expand 2024-04-20 18:44:27 +03:00