Skip to content

Commit 8876e2c

Browse files
committed
Oops, fix logging string specs. Nobody likes writing RUST_LOG=_ZN5rustc5front7creaderE, do they?
1 parent 9671d21 commit 8876e2c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/comp/middle/trans.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5810,8 +5810,7 @@ fn load_if_immediate(&@block_ctxt cx, ValueRef v, &ty::t t) -> ValueRef {
58105810

58115811
fn trans_log(int lvl, &@block_ctxt cx, &@ast::expr e) -> result {
58125812
auto lcx = cx.fcx.lcx;
5813-
auto modname = link::mangle_internal_name_by_path(lcx.ccx,
5814-
lcx.module_path);
5813+
auto modname = str::connect(lcx.module_path, "::");
58155814
auto global;
58165815
if (lcx.ccx.module_data.contains_key(modname)) {
58175816
global = lcx.ccx.module_data.get(modname);

0 commit comments

Comments
 (0)