macro_rules! const_int_as {
($e:expr, $lhs:ty, $rhs:ty) => { ... };
}Expand description
Cast a given integer type to another one in constant contexts. Signal a fatal error if the cast target can’t fit the source integer type.
macro_rules! const_int_as {
($e:expr, $lhs:ty, $rhs:ty) => { ... };
}Cast a given integer type to another one in constant contexts. Signal a fatal error if the cast target can’t fit the source integer type.