Skip to content

Commit 86863fb

Browse files
committed
---
yaml --- r: 6711 b: refs/heads/master c: 2cd3d1f h: refs/heads/master i: 6709: ebbebb6 6707: ad32804 6703: 77adc3f v: v3
1 parent ff25d0d commit 86863fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: dde58603803dc6024cb5fa6071562f1b93b5816a
2+
refs/heads/master: 2cd3d1ff5934f69b894e9c41b9d5898f0d249d3e

trunk/src/comp/middle/resolve.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ fn unresolved_err(e: env, cx: ctxt, sp: span, name: ident, kind: str) {
613613
let did = def_id_of_def(def);
614614
if did.crate == ast::local_crate {
615615
path = e.mod_map.get(did.node).path + path;
616-
} else {
616+
} else if did.node != -1 {
617617
let paths = e.ext_map.get(did);
618618
if vec::len(paths) > 0u {
619619
path = str::connect(paths, "::") + "::" + path;

0 commit comments

Comments
 (0)