about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-09-09 21:00:55 +0000
committerbors <bors@rust-lang.org>2018-09-09 21:00:55 +0000
commit2d4e34ca8bb1369f7e0eea4cb50e6faa0827a6e5 (patch)
tree9e250b17aba2c7174bea5e7d7fb1a598da7e0ff2 /src/liballoc_system
parentf50b7758f4dc85dc1c5e38258adaa94213ac6ed1 (diff)
parent2dce3779bbc0353ff9fb544774417a851027fcab (diff)
downloadrust-2d4e34ca8bb1369f7e0eea4cb50e6faa0827a6e5.tar.gz
rust-2d4e34ca8bb1369f7e0eea4cb50e6faa0827a6e5.zip
Auto merge of #53778 - petrochenkov:shadrelax2, r=nikomatsakis
resolve: Relax shadowing restrictions on macro-expanded macros

Previously any macro-expanded macros weren't allowed to shadow macros from outer scopes.
Now only "more macro-expanded" macros cannot shadow "less macro-expanded" macros.
See comments to `fn may_appear_after` and added tests for more details and examples.

The functional changes are a21f6f588fc28c97533130ae44a6957b579ab58c and 46dd365ce9ca0a6b8653849b80267763c542842a, other commits are refactorings.
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions