File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1578,7 +1578,7 @@ define_print_and_forward_display! {
1578
1578
p!( write( "b\" " ) ) ;
1579
1579
for & c in slice {
1580
1580
for e in std:: ascii:: escape_default( c) {
1581
- p!( write( "{}" , e) ) ;
1581
+ p!( write( "{}" , e as char ) ) ;
1582
1582
}
1583
1583
}
1584
1584
p!( write( "\" " ) ) ;
@@ -1594,7 +1594,7 @@ define_print_and_forward_display! {
1594
1594
p!( write( "b\" " ) ) ;
1595
1595
for & c in slice {
1596
1596
for e in std:: ascii:: escape_default( c) {
1597
- p!( write( "{}" , e) ) ;
1597
+ p!( write( "{}" , e as char ) ) ;
1598
1598
}
1599
1599
}
1600
1600
p!( write( "\" " ) ) ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ fn main() {
8
8
// END RUST SOURCE
9
9
// START rustc.main.EraseRegions.after.mir
10
10
// ...
11
- // _1 = const b"102111111 ";
11
+ // _1 = const b"foo ";
12
12
// ...
13
13
// _2 = [const 5u8, const 120u8];
14
14
// ...
You can’t perform that action at this time.
0 commit comments