File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -72,9 +72,9 @@ fn check_states_expr(&fn_ctxt fcx, @expr e) -> () {
72
72
auto s = "" ;
73
73
s += ( "Unsatisfied precondition constraint for expression:\n " ) ;
74
74
s += util:: common:: expr_to_str ( e) ;
75
- s += ( "Precondition: " ) ;
75
+ s += ( "\n Precondition: \n " ) ;
76
76
s += bitv_to_str ( fcx. enclosing , prec) ;
77
- s += ( "Prestate: " ) ;
77
+ s += ( "\n Prestate: \n " ) ;
78
78
s += bitv_to_str ( fcx. enclosing , pres) ;
79
79
fcx. ccx . tcx . sess . span_err ( e. span , s) ;
80
80
}
@@ -98,9 +98,9 @@ fn check_states_stmt(&fn_ctxt fcx, &stmt s) -> () {
98
98
auto ss = "" ;
99
99
ss += ( "Unsatisfied precondition constraint for statement:\n " ) ;
100
100
ss += util:: common:: stmt_to_str ( s) ;
101
- ss += ( "Precondition: " ) ;
101
+ ss += ( "\n Precondition: \n " ) ;
102
102
ss += bitv_to_str ( fcx. enclosing , prec) ;
103
- ss += ( "Prestate: " ) ;
103
+ ss += ( "\n Prestate: \n " ) ;
104
104
ss += bitv_to_str ( fcx. enclosing , pres) ;
105
105
fcx. ccx . tcx . sess . span_err ( s. span , ss) ;
106
106
}
You can’t perform that action at this time.
0 commit comments