]> git.lizzy.rs Git - rust.git/commit
Add test cases for possible restricted shadowing configurations
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>
Thu, 30 Aug 2018 01:56:55 +0000 (04:56 +0300)
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>
Sat, 8 Sep 2018 11:15:11 +0000 (14:15 +0300)
commite00993a1abacc2bf211892af1e8012b55ad1ed9b
treed365288b790a213aee160612667480157bf1cc9a
parentd26ae20507b1ebdb51c48d4799edaa45c290bfe5
Add test cases for possible restricted shadowing configurations

Whitelist `#[rustc_transparent_macro]` so it's not interpreted as a potential attribute macro
src/libsyntax/feature_gate.rs
src/test/ui/macros/restricted-shadowing-legacy.rs [new file with mode: 0644]
src/test/ui/macros/restricted-shadowing-legacy.stderr [new file with mode: 0644]
src/test/ui/macros/restricted-shadowing-modern.rs [new file with mode: 0644]
src/test/ui/macros/restricted-shadowing-modern.stderr [new file with mode: 0644]