rust-analyzer/crates/hir-def/src
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
..
body Try caching macro calls more aggressively 2024-06-04 15:23:00 +02:00
data Generally optimize diagnostics performance 2024-04-15 22:15:41 +02:00
dyn_map Try caching macro calls more aggressively 2024-06-04 15:23:00 +02:00
hir fix: Fix format_args lowering passing incorrect parameters to rustc_parse_format 2024-05-22 16:11:06 +02:00
item_tree fix: Fix implicit ty args being lowered where they shouldn't 2024-05-02 11:53:53 +02:00
macro_expansion_tests fix: Fix doc comment desugaring for proc-macros 2024-04-27 13:30:51 +02:00
nameres Auto merge of #17352 - roife:fix-issue-17338, r=Veykril 2024-06-06 09:40:39 +00:00
path Simplify 2024-06-03 19:06:58 +02:00
attr.rs Cleanup some inert attribute stuff 2024-06-04 12:38:20 +02:00
body.rs Try caching macro calls more aggressively 2024-06-04 15:23:00 +02:00
builtin_type.rs Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra 2023-06-05 12:04:23 +03:00
child_by_source.rs Try caching macro calls more aggressively 2024-06-04 15:23:00 +02:00
data.rs Cleanup some inert attribute stuff 2024-06-04 12:38:20 +02:00
db.rs Cleanup some inert attribute stuff 2024-06-04 12:38:20 +02:00
dyn_map.rs Merge commit '3b7c7f97e4a7bb253a8d398ee4f8346f6cf2817b' into sync-from-ra 2023-11-08 08:15:03 +02:00
expander.rs Arc CrateData::cfg_options 2024-04-06 13:55:10 +02:00
find_path.rs Add fuel to find_path 2024-06-03 20:07:00 +02:00
generics.rs fix: Fix implicit ty args being lowered where they shouldn't 2024-05-02 11:53:53 +02:00
hir.rs Render literal escaping errors in hovers 2024-05-13 12:51:57 +02:00
import_map.rs fix: Fix general find-path inconsistencies 2024-05-22 14:05:24 +02:00
item_scope.rs fix: Fix general find-path inconsistencies 2024-05-22 14:05:24 +02:00
item_tree.rs Simplify 2024-06-03 19:06:58 +02:00
lang_item.rs Keep the span for Attr::Literal 2024-03-21 10:28:25 +01:00
lib.rs Simplify 2024-06-03 19:06:58 +02:00
lower.rs Use RefCell::take 2024-04-30 14:19:56 +02:00
nameres.rs Auto merge of #17277 - Veykril:find-path-fixes, r=Veykril 2024-05-22 18:22:32 +00:00
path.rs Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00
per_ns.rs Merge commit '0113bc9388b480fa42c632f57f4f0f7af5813ec1' into sync-from-ra 2024-02-04 10:37:58 +02:00
pretty.rs Simplify 2024-06-03 19:06:58 +02:00
resolver.rs fix: Fix general find-path inconsistencies 2024-05-22 14:05:24 +02:00
src.rs internal: Remove synstructure const hack support 2024-03-11 09:44:40 +01:00
test_db.rs Merge commit '0113bc9388b480fa42c632f57f4f0f7af5813ec1' into sync-from-ra 2024-02-04 10:37:58 +02:00
trace.rs Merge commit 'ddf105b646c6749a2de2451c9a499a354eec79c2' into sync-from-ra 2024-02-11 08:40:19 +02:00
visibility.rs Simplify 2024-06-03 19:06:58 +02:00