Home
last modified time | relevance | path

Searched defs:nested_shape (Results 1 – 9 of 9) sorted by relevance

/third_party/rust/rust/src/tools/rustfmt/src/
Dpairs.rs105 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
Dpatterns.rs316 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
Dreorder.rs127 let nested_shape = shape.offset_left(4)?.sub_width(1)?; in rewrite_reorderable_or_regroupable_items() localVariable
Doverflow.rs329 nested_shape: Shape, field
359 let nested_shape = shape_from_indent_style(context, shape, used_width + 2, used_width + 1); in new() localVariable
Dmacros.rs357 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
Dexpr.rs895 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
Dclosures.rs274 let nested_shape = shape in rewrite_closure_fn_decl() localVariable
Dimports.rs985 let nested_shape = match context.config.imports_indent() { in rewrite_nested_use_tree() localVariable
Ditems.rs118 let nested_shape = shape.sub_width(1)?; in rewrite() localVariable
2007 let nested_shape = Shape::indented(nested_indent, context.config); in rewrite_static() localVariable