pub fn semantic_generic_params_ex(
db: &dyn SemanticGroup,
diagnostics: &mut SemanticDiagnostics,
resolver: &mut Resolver<'_>,
module_file_id: ModuleFileId,
generic_params: &OptionWrappedGenericParamList,
in_cycle: bool,
) -> Vec<GenericParam>