ignore host effect params in rustdoc
This commit is contained in:
parent
7b1b17574b
commit
a3b5f1ad85
@ -793,6 +793,7 @@ fn clean_ty_generics<'tcx>(
|
|||||||
}
|
}
|
||||||
Some(clean_generic_param_def(param, cx))
|
Some(clean_generic_param_def(param, cx))
|
||||||
}
|
}
|
||||||
|
ty::GenericParamDefKind::Const { is_host_effect: true, .. } => None,
|
||||||
ty::GenericParamDefKind::Const { .. } => Some(clean_generic_param_def(param, cx)),
|
ty::GenericParamDefKind::Const { .. } => Some(clean_generic_param_def(param, cx)),
|
||||||
})
|
})
|
||||||
.collect::<ThinVec<GenericParamDef>>();
|
.collect::<ThinVec<GenericParamDef>>();
|
||||||
|
Loading…
Reference in New Issue
Block a user