We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unreachable!
FormatRenderer
JsonRenderer
1 parent 5f9e716 commit e60a7a4Copy full SHA for e60a7a4
src/librustdoc/json/mod.rs
@@ -162,8 +162,13 @@ impl<'tcx> FormatRenderer<'tcx> for JsonRenderer<'tcx> {
162
))
163
}
164
165
- fn make_child_renderer(&mut self) -> Self::InfoType {}
166
- fn set_back_info(&mut self, _info: Self::InfoType) {}
+ fn make_child_renderer(&mut self) -> Self::InfoType {
+ 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
172
173
/// Inserts an item into the index. This should be used rather than directly calling insert on
174
/// the hashmap because certain items (traits and types) need to have their mappings for trait
0 commit comments