// rustfmt-indent_style: Block // rustfmt-trailing_comma: Never fn foo() { { let write_status = | status: &mut Vec, diff: &Diff, heading: &str, color: &Style, show_hints: bool, hints: &[&str] | -> Option { Some(true) }; } } fn bar() { let write_status = | status: &mut Vec, diff: &Diff, heading: &str, color: &Style | -> Option { Some(true) }; let baz = |foo: bool| -> Option { Some(true) }; }