pub trait NextTypeParamName {
    // Required method
    fn next_type_param_name(&self, name: Option<&str>) -> String;
}
Expand description

Suggest a new type parameter name for diagnostic purposes.

name is the preferred name you’d like to suggest if it’s not in use already.

Required Methods§

Implementations on Foreign Types§

source§

impl NextTypeParamName for &[GenericParam<'_>]

Implementors§