File tree 2 files changed +26
-3
lines changed
compiler/rustc_borrowck/src
2 files changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -213,8 +213,32 @@ trait FactCell {
213
213
fn to_string ( & self , location_table : & LocationTable ) -> String ;
214
214
}
215
215
216
- impl < A : Debug > FactCell for A {
217
- default fn to_string ( & self , _location_table : & LocationTable ) -> String {
216
+ impl FactCell for BorrowIndex {
217
+ fn to_string ( & self , _location_table : & LocationTable ) -> String {
218
+ format ! ( "{self:?}" )
219
+ }
220
+ }
221
+
222
+ impl FactCell for Local {
223
+ fn to_string ( & self , _location_table : & LocationTable ) -> String {
224
+ format ! ( "{self:?}" )
225
+ }
226
+ }
227
+
228
+ impl FactCell for MovePathIndex {
229
+ fn to_string ( & self , _location_table : & LocationTable ) -> String {
230
+ format ! ( "{self:?}" )
231
+ }
232
+ }
233
+
234
+ impl FactCell for PoloniusRegionVid {
235
+ fn to_string ( & self , _location_table : & LocationTable ) -> String {
236
+ format ! ( "{self:?}" )
237
+ }
238
+ }
239
+
240
+ impl FactCell for RegionVid {
241
+ fn to_string ( & self , _location_table : & LocationTable ) -> String {
218
242
format ! ( "{self:?}" )
219
243
}
220
244
}
Original file line number Diff line number Diff line change 7
7
#![ feature( box_patterns) ]
8
8
#![ feature( control_flow_enum) ]
9
9
#![ feature( let_chains) ]
10
- #![ feature( min_specialization) ]
11
10
#![ feature( never_type) ]
12
11
#![ feature( rustc_attrs) ]
13
12
#![ feature( rustdoc_internals) ]
You can’t perform that action at this time.
0 commit comments