Searched defs:nested_shape (Results 1 – 9 of 9) sorted by relevance
| /third_party/rust/rust/src/tools/rustfmt/src/ |
| D | pairs.rs | 105 let nested_shape = (match context.config.indent_style() { in rewrite_pairs_multiline() localVariable 275 let nested_shape = (match context.config.indent_style() { in flatten() localVariable
|
| D | patterns.rs | 316 let nested_shape = shape_for_tactic(tactic, h_shape, v_shape); in rewrite_struct_pat() localVariable 375 let nested_shape = shape.block_indent(context.config.tab_spaces()); in rewrite() localVariable
|
| D | reorder.rs | 127 let nested_shape = shape.offset_left(4)?.sub_width(1)?; in rewrite_reorderable_or_regroupable_items() localVariable
|
| D | overflow.rs | 329 nested_shape: Shape, field 359 let nested_shape = shape_from_indent_style(context, shape, used_width + 2, used_width + 1); in new() localVariable
|
| D | macros.rs | 357 let nested_shape = mac_shape.block_indent(context.config.tab_spaces()); in handle_vec_semi() localVariable 625 let nested_shape = shape in rewrite() localVariable 1337 let nested_shape = shape in format_lazy_static() localVariable
|
| D | expr.rs | 895 let nested_shape = shape in rewrite_pat_expr() localVariable 1495 let nested_shape = Shape::indented(nested_indent, context.config); in rewrite_paren_in_multi_line() localVariable 1676 let nested_shape = shape_for_tactic(tactic, h_shape, v_shape); in rewrite_struct_lit() localVariable 1803 let nested_shape = shape.sub_width(3)?.visual_indent(1); in rewrite_tuple_in_visual_indent_style() localVariable 1812 let nested_shape = shape.sub_width(2)?.visual_indent(1); in rewrite_tuple_in_visual_indent_style() localVariable
|
| D | closures.rs | 274 let nested_shape = shape in rewrite_closure_fn_decl() localVariable
|
| D | imports.rs | 985 let nested_shape = match context.config.imports_indent() { in rewrite_nested_use_tree() localVariable
|
| D | items.rs | 118 let nested_shape = shape.sub_width(1)?; in rewrite() localVariable 2007 let nested_shape = Shape::indented(nested_indent, context.config); in rewrite_static() localVariable
|