Skip to main content

identity_subst

Macro identity_subst 

Source
macro_rules! identity_subst {
    (for $l:lifetime { $($t:ty,)* }) => { ... };
}
Expand description

For types that do not contain any potentially substitutable content, we can use a simple impl. Note that while these types default [ir::subst::Term][] type to SymGenericTerm, that is just for convenience – they implement SubstWith for any type Term.