mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
5d6c830832
Reflection TypeKind::FnPtr This is for https://github.com/rust-lang/rust/issues/146922. Const-eval currently lacks full support for function pointer (fn) types. We should implement handling of FnPtr TypeKind, covering safe and unsafe functions, Rust and custom ABIs, input and output types, higher-ranked lifetimes, and variadic functions.