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 41f8315 commit c635ab7Copy full SHA for c635ab7
src/librustdoc/clean/mod.rs
@@ -320,6 +320,7 @@ pub(crate) fn clean_const<'tcx>(constant: &hir::ConstArg<'tcx>) -> ConstantKind
320
ConstantKind::Path { path: qpath_to_string(qpath).into() }
321
}
322
hir::ConstArgKind::Struct(..) => {
323
+ // FIXME(mgca): proper printing :3
324
ConstantKind::Path { path: "/* STRUCT EXPR */".to_string().into() }
325
326
hir::ConstArgKind::Anon(anon) => ConstantKind::Anonymous { body: anon.body },
0 commit comments