Closed
Description
The rustc_const_unstable
attribute currently does not check whether the function it is applied upon is indeed a const fn
. I feel like it should check that.
I recently made the mistake of forgetting to mark the function const: #69617 (comment)
ping @oli-obk