errors.fyi community error code reference
E0015
rust

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.

References

← all namespaces