about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry/patchable-function-entry-attribute.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-06 09:40:39 +0000
committerbors <bors@rust-lang.org>2024-06-06 09:40:39 +0000
commit49dd2d3d29686a715117509ed6205fe4c1614f97 (patch)
treef036c4dd8250e60fc6967acf81c2faa288e22e74 /tests/ui/patchable-function-entry/patchable-function-entry-attribute.rs
parent56a298bf3da066fb31177f71a0d597edcd8f0594 (diff)
parent07fde0779e396d73a51417cbb2201205550fe6fe (diff)
downloadrust-49dd2d3d29686a715117509ed6205fe4c1614f97.tar.gz
rust-49dd2d3d29686a715117509ed6205fe4c1614f97.zip
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)
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-attribute.rs')
0 files changed, 0 insertions, 0 deletions