File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -162,8 +162,13 @@ impl<'tcx> FormatRenderer<'tcx> for JsonRenderer<'tcx> {
162162 ) )
163163 }
164164
165- fn make_child_renderer ( & mut self ) -> Self :: InfoType { }
166- fn set_back_info ( & mut self , _info : Self :: InfoType ) { }
165+ fn make_child_renderer ( & mut self ) -> Self :: InfoType {
166+ unreachable ! ( "RUN_ON_MODULE = false should never call make_child_renderer" )
167+ }
168+
169+ fn set_back_info ( & mut self , _info : Self :: InfoType ) {
170+ unreachable ! ( "RUN_ON_MODULE = false should never call set_back_info" )
171+ }
167172
168173 /// Inserts an item into the index. This should be used rather than directly calling insert on
169174 /// the hashmap because certain items (traits and types) need to have their mappings for trait
You can’t perform that action at this time.
0 commit comments