Skip to main content

spanned_clone_fn

Function spanned_clone_fn 

Source
pub(crate) fn spanned_clone_fn(ty: &Type) -> TokenStream
Expand description

<ty as Clone>::clone, spanned at ty: a type without Clone is then reported at the user’s field instead of at the derive.