Limit the promotion of const fns to the libstd and the rustc_promotable
attribute#53851
Merged
bors merged 5 commits intorust-lang:masterfrom oli-obk:local_promotionOct 4, 2018
+484-335
rustc_promotable
attribute#53851