mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
743e842afb
Coerce const FnDefs to implement const Fn traits You can now pass a FnDef to a function expecting `F` where `F: ~const FnTrait`. r? ``@oli-obk`` ``@rustbot`` label T-compiler F-const_trait_impl