1 // rustfmt-array_layout: Block
2 // rustfmt-fn_call_style: Block
3 // Test expressions with block formatting.
9 let foo = [a_long_name, a_very_lng_name, a_long_name];
91 test123: value_one_two_three_four,
98 let a = WeightedChoice::new(
100 Weighted { weight: x, item: 0 },
101 Weighted { weight: 1, item: 1 },
102 Weighted { weight: x, item: 2 },
103 Weighted { weight: 1, item: 3 },
108 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,
109 yyyyyyyyyyyyyyyyyyyyyyyyyyy,
114 [1 + 3, 4, 5, 6, 7, 7, fncall::<Vec<_>>(3 - 1)]
117 fn function_calls() {
118 let items = itemize_list(
128 width: remaining_width,
147 width: remaining_width,
174 baz!(one_item_macro_which_is_also_loooooooooooooooooooooooooooooooooooooooooooooooong);
176 let _ = match option {
188 Some(p) => baz!(one_item_macro_as_expression_which_is_also_loooooooooooooooong),