diff options
| author | Kevin Ballard <kevin@sb.org> | 2014-07-31 19:05:45 -0700 |
|---|---|---|
| committer | Kevin Ballard <kevin@sb.org> | 2014-07-31 19:05:45 -0700 |
| commit | ff3d902fcbcdddc885e03ffe3f84bc9dcb003cec (patch) | |
| tree | 7ae5519d53fe432247d7c7deb0d3f8a2f65d2d96 /src/rustllvm/RustWrapper.cpp | |
| parent | 75a39e0fb8fef20d72f7279686ec266bb9cec127 (diff) | |
| download | rust-ff3d902fcbcdddc885e03ffe3f84bc9dcb003cec.tar.gz rust-ff3d902fcbcdddc885e03ffe3f84bc9dcb003cec.zip | |
Stop using the Show impl for ast::Name in our symbols
When generating a unique symbol for things like closures or glue_drop, we call token::gensym() to create a crate-unique Name. Recently, Name changed its Show impl so it no longer prints as a number. This caused symbols like glue_drop:1542 to become glue_drop:"glue_drop"(1542), or in mangled form, glue_drop.$x22glue_drop$x22$LP$1542$RP$.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
