Skip to content

Commit 6beec10

Browse files
committed
---
yaml --- r: 7027 b: refs/heads/master c: 1e54684 h: refs/heads/master i: 7025: 6344592 7023: 4619d30 v: v3
1 parent 73e3b0a commit 6beec10

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
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: b02a77d6b471fe76e8c88ea8462a5251f7744ca3
2+
refs/heads/master: 1e5468409310235cb13268aff78db23cd5e45609

trunk/src/comp/middle/tstate/auxiliary.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,14 @@ fn comma_str(args: [@constr_arg_use]) -> str {
5050
fn constraint_to_str(tcx: ty::ctxt, c: sp_constr) -> str {
5151
alt c.node {
5252
ninit(id, i) {
53-
ret #fmt("init(%s id=%d [%s])",
53+
ret #fmt("init(%s id=%d - arising from %s)",
5454
i, id, tcx.sess.span_str(c.span));
5555
}
5656
npred(p, _, args) {
57-
ret path_to_str(p) + "(" + comma_str(args) + ")" + "[" +
58-
tcx.sess.span_str(c.span) + "]";
57+
ret #fmt("%s(%s) - arising from %s",
58+
path_to_str(p),
59+
comma_str(args),
60+
tcx.sess.span_str(c.span));
5961
}
6062
}
6163
}

0 commit comments

Comments
 (0)