about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-09-01 20:03:55 +0000
committerbors <bors@rust-lang.org>2020-09-01 20:03:55 +0000
commit130359cb05246fcacdde61baa2613419ef6570c7 (patch)
treea802248bcafa66177364c0e296094a56fe88891d /compiler/rustc_data_structures/src
parenteb9e7c357e26bf41c47661720e46f4498de32b83 (diff)
parenta97dcfa3755990062fd7905370cddd3843541db0 (diff)
downloadrust-130359cb05246fcacdde61baa2613419ef6570c7.tar.gz
rust-130359cb05246fcacdde61baa2613419ef6570c7.zip
Auto merge of #76010 - Aaron1011:fix/cfg-generic-param, r=petrochenkov
Run cfg-stripping on generic parameters before invoking derive macros

Fixes #75930

This changes the tokens seen by a proc-macro. However, ising a `#[cfg]` attribute
on a generic paramter is unusual, and combining it with a proc-macro
derive is probably even more unusual. I don't expect this to cause any
breakage.
Diffstat (limited to 'compiler/rustc_data_structures/src')
0 files changed, 0 insertions, 0 deletions