about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2014-07-31 19:05:45 -0700
committerKevin Ballard <kevin@sb.org>2014-07-31 19:05:45 -0700
commitff3d902fcbcdddc885e03ffe3f84bc9dcb003cec (patch)
tree7ae5519d53fe432247d7c7deb0d3f8a2f65d2d96 /src/rustllvm/RustWrapper.cpp
parent75a39e0fb8fef20d72f7279686ec266bb9cec127 (diff)
downloadrust-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