fn main() { let n = 1; fn add(x: i64) -> i64 { x + n } let f = add; let v = 5; println!("Inc {} = {}", v, f(v)) }