Skip to content

Commit 5715f80

Browse files
committed
---
yaml --- r: 5257 b: refs/heads/master c: c84b8e9 h: refs/heads/master i: 5255: e8eb891 v: v3
1 parent 8374fab commit 5715f80

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
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: b9267e8fbce647dfd1f8b3ecc7f4e4bd3dcf4af6
2+
refs/heads/master: c84b8e90b843ed65a29518432c5d490688560012

trunk/src/comp/util/ppaux.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@ fn get_id_ident(cx: ctxt, id: ast::def_id) -> str {
3131
if id.crate != ast::local_crate {
3232
alt cx.ext_map.find(id) {
3333
some(j) { str::connect(j, "::") }
34-
_ {
35-
fail "get_id_ident: can't find item in ext_map, id.crate = " +
36-
int::str(id.crate)
37-
}
34+
none. { "<#" + int::str(id.crate) + ":" + int::str(id.node) + ">" }
3835
}
3936
} else {
4037
alt cx.items.find(id.node) {

trunk/src/test/compile-fail/tag-that-dare-not-speak-its-name.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// -*- rust -*-
22
// xfail-test
3-
// error-pattern:mismatch
3+
// error-pattern:option::t
44
use std;
55
import std::vec::*;
66

0 commit comments

Comments
 (0)