Skip to main content

patch_lifetimes

Function patch_lifetimes 

Source
fn patch_lifetimes(ty: &Type) -> Type
Expand description

Recursively patches lifetimes in a type, adding 'a to references without a lifetime and recursing into generic arguments and tuples.