fn d(_f: T) { match std::mem::size_of::() { 0 => print!("0"), 1 => print!("1"), _ => print!("2"), } } fn a(f: fn(T)) { d(f); } fn main() { a(a::); d(a::); }