fn main() { // ANCHOR: here type Thunk = Box; let f: Thunk = Box::new(|| println!("hi")); fn takes_long_type(f: Thunk) { // --snip-- } fn returns_long_type() -> Thunk { // --snip-- // ANCHOR_END: here Box::new(|| ()) // ANCHOR: here } // ANCHOR_END: here }