File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
trunk/src/comp/middle/tstate Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: b02a77d6b471fe76e8c88ea8462a5251f7744ca3
2
+ refs/heads/master: 1e5468409310235cb13268aff78db23cd5e45609
Original file line number Diff line number Diff line change @@ -50,12 +50,14 @@ fn comma_str(args: [@constr_arg_use]) -> str {
50
50
fn constraint_to_str ( tcx : ty:: ctxt , c : sp_constr ) -> str {
51
51
alt c. node {
52
52
ninit ( id, i) {
53
- ret #fmt( "init(%s id=%d [%s] )" ,
53
+ ret #fmt( "init(%s id=%d - arising from %s )" ,
54
54
i, id, tcx. sess . span_str ( c. span ) ) ;
55
55
}
56
56
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 ) ) ;
59
61
}
60
62
}
61
63
}
You can’t perform that action at this time.
0 commit comments