Fix E0643: Generic Const Parameters Cannot Be Used in Function Body
Rust compiler error E0643 occurs when a const generic parameter is used in a function body in a way the compiler cannot evaluate at compile time, such as inside a match expression's return type or as an array size in a non-const context.