diff options
| author | Marijn Haverbeke <[email protected]> | 2011-05-12 17:20:07 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <[email protected]> | 2011-05-12 21:30:35 +0200 |
| commit | 6510f1ce7cb026ceb98689583c13f18c1e7c2c12 (patch) | |
| tree | daee2983e121887082fbba929919d2a2dccef36c /src/comp/middle/trans.rs | |
| parent | Remove some truly wrong logic in parse_constrs (diff) | |
| download | rust-6510f1ce7cb026ceb98689583c13f18c1e7c2c12.tar.xz rust-6510f1ce7cb026ceb98689583c13f18c1e7c2c12.zip | |
Change module dereference syntax from . to ::
This will need to be a snapshot.
Diffstat (limited to 'src/comp/middle/trans.rs')
| -rw-r--r-- | src/comp/middle/trans.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index d6e86045..ecdf78cf 100644 --- a/src/comp/middle/trans.rs +++ b/src/comp/middle/trans.rs @@ -5439,7 +5439,7 @@ fn load_if_immediate(&@block_ctxt cx, ValueRef v, &ty.t t) -> ValueRef { fn trans_log(int lvl, &@block_ctxt cx, &@ast.expr e) -> result { auto lcx = cx.fcx.lcx; - auto modname = Str.connect(lcx.module_path, "."); + auto modname = Str.connect(lcx.module_path, "::"); auto global; if (lcx.ccx.module_data.contains_key(modname)) { global = lcx.ccx.module_data.get(modname); |