A const-unstable function cannot call other const-unstable functions gated under a language feature gate #129656
Labels
A-const-eval
Area: constant evaluation (mir interpretation)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I expected this code to compile, but it does not:
Renaming
f128
tof128_const
makes it compile, so somehow the issue must be related to the fact thatf128
is a language feature gate. For regular library stability, we support also using a language feature as a library feature gate, but for const-stability that somehow does not work.When this gets fixed, the f128_const and f16_const features (added in #129555) can be merged into the f128 and f16 features, respectively.
Cc @oli-obk
The text was updated successfully, but these errors were encountered: