const_fn attribute currently only accepts string literals as version requirements, like the current cfg_version does.
#[const_fn("1.36")]
const fn func() { /* ... */ }
Should we accept numeric literals directly, like the original RFC or rustversion crate?
#[const_fn(1.36)]
const fn func() { /* ... */ }