1 // rustfmt-array_layout: Block
2 // rustfmt-fn_call_style: Block
3 // rustfmt-control_style: Rfc
4 // Test expressions with block formatting.
10 let foo = [a_long_name, a_very_lng_name, a_long_name];
92 test123: value_one_two_three_four,
99 let a = WeightedChoice::new(
101 Weighted { weight: x, item: 0 },
102 Weighted { weight: 1, item: 1 },
103 Weighted { weight: x, item: 2 },
104 Weighted { weight: 1, item: 3 },
109 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,
110 yyyyyyyyyyyyyyyyyyyyyyyyyyy,
115 [1 + 3, 4, 5, 6, 7, 7, fncall::<Vec<_>>(3 - 1)]
118 fn function_calls() {
119 let items = itemize_list(
129 width: remaining_width,
148 width: remaining_width,
175 baz!(one_item_macro_which_is_also_loooooooooooooooooooooooooooooooooooooooooooooooong);
177 let _ = match option {
189 Some(p) => baz!(one_item_macro_as_expression_which_is_also_loooooooooooooooong),
195 .compare_exchandsfasdsdfgsdgsdfgsdfgsdfgsdfgsdfgfsfdsage_weak(
210 if real_total <= limit && !pre_line_comments &&
211 !items.into_iter().any(|item| item.as_ref().is_multiline())
213 DefinitiveListTactic::Horizontal