about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-02-19 06:01:45 -0800
committerbors <bors@rust-lang.org>2014-02-19 06:01:45 -0800
commitace204a74548947914d08a7feca694941106175d (patch)
treea775aace6a91bf2540ff9708386a251581a3dc97 /src/rustllvm/PassWrapper.cpp
parent99f838012b58f869dff5292f83a9e9628a8ec436 (diff)
parent111e092481ec8a6e958f3f4d3e13eaccd844d99e (diff)
downloadrust-ace204a74548947914d08a7feca694941106175d.tar.gz
rust-ace204a74548947914d08a7feca694941106175d.zip
auto merge of #12349 : edwardw/rust/debug-expansion, r=huonw
Currently, the format_args! macro and its downstream macros in turn
expand to series of let statements, one for each of its arguments, and
then the invocation of the macro function. If one or more of the
arguments are RefCell's, the enclosing statement for the temporary of
the let is the let itself, which leads to scope problem. This patch
changes let's to a match expression.

Closes #12239.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions