Skip to content

Commit 1b6ad1e

Browse files
committed
stub out trait aliases in librustdoc
1 parent 46dc7c5 commit 1b6ad1e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustdoc/visit_ast.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,9 @@ impl<'a, 'tcx> RustdocVisitor<'a, 'tcx> {
512512
};
513513
om.traits.push(t);
514514
},
515+
hir::ItemTraitAlias(..) => {
516+
unimplemented!("trait objects are not yet implemented")
517+
},
515518

516519
hir::ItemImpl(unsafety,
517520
polarity,

0 commit comments

Comments
 (0)