macro_rules! direct_const_arg {
($($arg:tt)*) => { ... };
}🔬This is a nightly-only experimental API. (
min_generic_const_args #132980)Expand description
Creates a new style directly represented const argument.
ⓘ
type const BAR<const N: usize>: usize = N;
type const FOO<const N: usize>: usize = direct!(BAR::<N>);