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.
1 parent 6516f94 commit 21bf8afCopy full SHA for 21bf8af
src/librustdoc/clean/mod.rs
@@ -2284,13 +2284,6 @@ impl Clean<Item> for (&hir::MacroDef<'_>, Option<Symbol>) {
2284
let vis = item.vis.clean(cx);
2285
let def_id = item.def_id.to_def_id();
2286
2287
- // Since this occurs in `clean()`, there are no cache entries for vis.print_with_space,
2288
- // so no links can be made.
2289
- //
2290
- // It's important that we maintain this invariant, because this is supposed to generate
2291
- // source code, not HTML.
2292
- assert!(cx.cache.paths.is_empty());
2293
-
2294
if matchers.len() <= 1 {
2295
format!(
2296
"{}macro {}{} {{\n ...\n}}",
0 commit comments