summaryrefslogtreecommitdiff
path: root/src/codegen/derive_debug.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-09-21 12:06:11 -0500
committerGitHub <noreply@github.com>2017-09-21 12:06:11 -0500
commit5b49548ddd37a11180439eec878e9c537cef1a97 (patch)
treeadf31a002cb66ee997151470f66f0f16e820016d /src/codegen/derive_debug.rs
parenta8f4bc93b8125c24a1a129874a77f49a4a85ac57 (diff)
parentaa11524259b1638108346176f8a00ab07a4f9500 (diff)
Auto merge of #1008 - AndrewGaspar:underscore-identifier, r=fitzgen
Translate _ as __ This change treats _ as a reserved identifier to resolve the bug reported in #631. I have one concern - if the header has both an `_` and `__` identifier in the global namespace, this will cause a conflict. However, it seems like we already don't handle that case for `keyword_` (e.g. `abstract_`, `alignof_`, etc.) so it doesn't seem like we need a solution specifically for `__` in this change. Fixes #631.
Diffstat (limited to 'src/codegen/derive_debug.rs')
0 files changed, 0 insertions, 0 deletions