File tree 1 file changed +5
-7
lines changed
src/librustc_mir/interpret
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -114,13 +114,11 @@ fn write_path(out: &mut String, path: &Vec<PathElem>) {
114
114
ClosureVar ( name) => write ! ( out, ".<closure-var({})>" , name) ,
115
115
TupleElem ( idx) => write ! ( out, ".{}" , idx) ,
116
116
ArrayElem ( idx) => write ! ( out, "[{}]" , idx) ,
117
- Deref => {
118
- // This does not match Rust syntax, but it is more readable for long paths -- and
119
- // some of the other items here also are not Rust syntax. Actually we can't
120
- // even use the usual syntax because we are just showing the projections,
121
- // not the root.
122
- write ! ( out, ".<deref>" )
123
- }
117
+ // `.<deref>` does not match Rust syntax, but it is more readable for long paths -- and
118
+ // some of the other items here also are not Rust syntax. Actually we can't
119
+ // even use the usual syntax because we are just showing the projections,
120
+ // not the root.
121
+ Deref => write ! ( out, ".<deref>" ) ,
124
122
Tag => write ! ( out, ".<enum-tag>" ) ,
125
123
DynDowncast => write ! ( out, ".<dyn-downcast>" ) ,
126
124
}
You can’t perform that action at this time.
0 commit comments