We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
kw::Empty
1 parent 31320a9 commit 5fb0f57Copy full SHA for 5fb0f57
src/librustdoc/clean/utils.rs
@@ -234,7 +234,7 @@ pub(super) fn clean_middle_path<'tcx>(
234
args: ty::Binder<'tcx, GenericArgsRef<'tcx>>,
235
) -> Path {
236
let def_kind = cx.tcx.def_kind(did);
237
- let name = cx.tcx.opt_item_name(did).unwrap_or(kw::Empty);
+ let name = cx.tcx.opt_item_name(did).unwrap_or(sym::dummy);
238
Path {
239
res: Res::Def(def_kind, did),
240
segments: thin_vec![PathSegment {
0 commit comments