rust-analyzer/crates/hir-def/src
bors d4da3f925c Auto merge of #17251 - roife:fix-issue-17057, r=Veykril
fix: resolve extern prelude for local mods in block modules

fix https://github.com/rust-lang/rust-analyzer/issues/17057, https://github.com/rust-lang/rust-analyzer/issues/17032.

We should use `ModuleOrigin` to check if the current module is a pseudo-module introduced by blocks (where names might be shadowed), rather than checking `block_def_map`.
2024-05-22 20:11:24 +00:00
..
attr Auto merge of #17268 - Veykril:signatures, r=Veykril 2024-05-22 12:48:17 +00:00
body Auto merge of #17251 - roife:fix-issue-17057, r=Veykril 2024-05-22 20:11:24 +00:00
data Generally optimize diagnostics performance 2024-04-15 22:15:41 +02:00
dyn_map fix: Fix modules in blocks not resolving in ide layer 2024-02-26 14:54:47 +01: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 #17251 - roife:fix-issue-17057, r=Veykril 2024-05-22 20:11:24 +00:00
path implement creating generics for impl traits in associated types 2024-04-29 23:55:02 +05:30
attr.rs fix: handle escaped chars in doc comments 2024-04-19 14:57:37 +08:00
body.rs Push macro-parsing error calculation out of fundamental queries 2024-05-13 16:56:26 +02:00
builtin_type.rs Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra 2023-06-05 12:04:23 +03:00
child_by_source.rs internal: Remove synstructure const hack support 2024-03-11 09:44:40 +01:00
data.rs Push macro-parsing error calculation out of fundamental queries 2024-05-13 16:56:26 +02:00
db.rs Generally optimize diagnostics performance 2024-04-15 22:15:41 +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 Simplify 2024-05-22 21:57:44 +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 Hash file contents to verify whether file actually changed 2024-05-14 11:55:12 +02:00
lang_item.rs Keep the span for Attr::Literal 2024-03-21 10:28:25 +01:00
lib.rs internal: refactor prefer_no_std/prefer_prelude bools into a struct 2024-05-22 20:46:30 +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 Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +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 fix: Don't force draw a dependency edge to the real_span_map query 2024-03-07 14:14:59 +01:00