Limit the promotion of const fns to the libstd and the rustc_promotable attribute
#53851
+484
−335
rustc_promotable attribute
#53851