Error code E0771
Note: this error code is no longer emitted by the compiler
A non-'static
lifetime was used in a const generic. This is currently not
allowed.
Erroneous code example:
ⓘ
To fix this issue, the lifetime in the const generic need to be changed to
'static
:
For more information, see GitHub issue #74052.