diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-03 14:01:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-03 14:01:11 -0500 |
commit | be2fbb30aa797def69b061214980f36e3c2321f5 (patch) | |
tree | c23c2cc30439b3978b87fe2293188d75a0facac6 /tests/headers/forward-inherit-struct-with-fields.hpp | |
parent | 591524ceb21f7864b67f03428185aa7f5913f92a (diff) | |
parent | eff92920d42eb87a9dedc5fb32c02aac382a51c5 (diff) |
Auto merge of #199 - fitzgen:replace-template-alias, r=emilio
Do not overwrite existing replacements
It turns out that we can end up overwriting existing replacements. This commit embeds the assumption that the first replacement definition is the correct one, and warns on all attempts to overwrite the first replacement definition with a new one. Additionally, it adds some debug logging about replacements.
This actually isn't enough to fix the test case in #89, but it is a good start.
r? @emilio
Diffstat (limited to 'tests/headers/forward-inherit-struct-with-fields.hpp')
0 files changed, 0 insertions, 0 deletions