2 // compile-flags: -Z chalk
7 let d: &dyn Display = &mut 3;
8 // FIXME(chalk) should be able to call d.to_string() as well, but doing so
9 // requires Chalk to be able to prove trait object well-formed goals.
11 let f: &dyn Fn(i32) -> _ = &|x| x + x;