rust · rust/E0015
E0015
Non-const in Const Context
A non-const function was called inside a constant or static expression. All functions used in const contexts must be marked with the const keyword so they can be evaluated at compile time.
A non-const function was called inside a constant or static expression. All functions used in const contexts must be marked with the const keyword so they can be evaluated at compile time.