From: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Date: Wed, 28 Jul 2021 12:07:25 +0000 (+0000) Subject: Merge #9700 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=33dcc895c1f87306eebea1033fcf843ce3d1a58c;p=rust.git Merge #9700 9700: fix: Remove the legacy macro scoping hack r=matklad a=jonas-schievink This stops prepending `self::` to single-ident macro paths, resolving even legacy-scoped macros using the fixed-point algorithm. This is not correct, but a lot easier than fixing this properly (which involves pushing a new scope for every macro definition and invocation). This allows resolution of macros from the prelude, fixing https://github.com/rust-analyzer/rust-analyzer/issues/9687. Co-authored-by: Jonas Schievink --- 33dcc895c1f87306eebea1033fcf843ce3d1a58c