From 4f522794ae0c536768908a4dd3e8292ada2c70a0 Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Fri, 2 Mar 2018 15:07:13 +1300 Subject: [PATCH] Tidy up and pass tests --- cargo-fmt/Cargo.toml | 17 ------ git-rustfmt/Cargo.toml | 19 ------ rustfmt-bin/Cargo.toml | 20 ------- rustfmt-bin/build.rs | 59 ------------------- rustfmt-config/Cargo.toml | 16 ----- rustfmt-config/README.md | 3 - rustfmt-core/Cargo.toml | 33 ----------- rustfmt-core/README.md | 3 - rustfmt-format-diff/Cargo.toml | 21 ------- src/lib.rs | 1 - .../config/disable_all_formatting.toml | 0 .../tests => tests}/config/issue-1111.toml | 0 .../tests => tests}/config/small_tabs.toml | 0 .../coverage/source/comments.rs | 0 .../coverage/target/comments.rs | 0 {rustfmt-core/tests => tests}/lib.rs | 28 +++------ .../tests => tests}/source/assignment.rs | 0 .../associated-types-bounds-wrapping.rs | 0 .../tests => tests}/source/attrib.rs | 0 .../tests => tests}/source/big-impl-block.rs | 0 .../tests => tests}/source/big-impl-visual.rs | 0 .../source/break-and-continue.rs | 0 {rustfmt-core/tests => tests}/source/catch.rs | 0 .../tests => tests}/source/chains-visual.rs | 0 .../tests => tests}/source/chains.rs | 0 .../source/closure-block-inside-macro.rs | 0 .../tests => tests}/source/closure.rs | 0 .../tests => tests}/source/comment.rs | 0 .../tests => tests}/source/comment2.rs | 0 .../tests => tests}/source/comment3.rs | 0 .../tests => tests}/source/comment4.rs | 0 .../tests => tests}/source/comment5.rs | 0 .../source/comment_crlf_newline.rs | 0 .../configs/blank_lines_lower_bound/1.rs | 0 .../brace_style/fn_always_next_line.rs | 0 .../brace_style/fn_prefer_same_line.rs | 0 .../configs/brace_style/fn_same_line_where.rs | 0 .../brace_style/item_always_next_line.rs | 0 .../brace_style/item_prefer_same_line.rs | 0 .../brace_style/item_same_line_where.rs | 0 .../source/configs/comment_width/above.rs | 0 .../source/configs/comment_width/below.rs | 0 .../source/configs/comment_width/ignore.rs | 0 .../condense_wildcard_suffixes/false.rs | 0 .../condense_wildcard_suffixes/true.rs | 0 .../control_brace_style/always_next_line.rs | 0 .../control_brace_style/always_same_line.rs | 0 .../control_brace_style/closing_next_line.rs | 0 .../configs/disable_all_formatting/false.rs | 0 .../configs/disable_all_formatting/true.rs | 0 .../configs/empty_item_single_line/false.rs | 0 .../configs/empty_item_single_line/true.rs | 0 .../configs/error_on_line_overflow/false.rs | 0 .../configs/fn_args_density/compressed.rs | 0 .../source/configs/fn_args_density/tall.rs | 0 .../configs/fn_args_density/vertical.rs | 0 .../source/configs/fn_single_line/false.rs | 0 .../source/configs/fn_single_line/true.rs | 0 .../configs/force_explicit_abi/false.rs | 0 .../source/configs/force_explicit_abi/true.rs | 0 .../configs/force_multiline_block/false.rs | 0 .../configs/force_multiline_block/true.rs | 0 .../source/configs/format_strings/false.rs | 0 .../source/configs/format_strings/true.rs | 0 .../source/configs/hard_tabs/false.rs | 0 .../source/configs/hard_tabs/true.rs | 0 .../source/configs/indent_style/block_args.rs | 0 .../configs/indent_style/block_array.rs | 0 .../source/configs/indent_style/block_call.rs | 0 .../configs/indent_style/block_chain.rs | 0 .../configs/indent_style/block_generic.rs | 0 .../configs/indent_style/block_struct_lit.rs | 0 .../indent_style/block_trailing_comma_call.rs | 0 .../configs/indent_style/block_where_pred.rs | 0 .../source/configs/indent_style/default.rs | 0 .../source/configs/indent_style/rfc_where.rs | 0 .../configs/indent_style/visual_args.rs | 0 .../configs/indent_style/visual_array.rs | 0 .../configs/indent_style/visual_call.rs | 0 .../configs/indent_style/visual_chain.rs | 0 .../configs/indent_style/visual_generics.rs | 0 .../configs/indent_style/visual_struct_lit.rs | 0 .../indent_style/visual_trailing_comma.rs | 0 .../configs/indent_style/visual_where_pred.rs | 0 .../source/configs/match_arm_blocks/false.rs | 0 .../source/configs/match_arm_blocks/true.rs | 0 .../match_block_trailing_comma/false.rs | 0 .../match_block_trailing_comma/true.rs | 0 .../source/configs/merge_derives/true.rs | 0 .../configs/normalize_comments/false.rs | 0 .../source/configs/normalize_comments/true.rs | 0 .../configs/reorder_extern_crates/false.rs | 0 .../configs/reorder_extern_crates/true.rs | 0 .../configs/reorder_imported_names/false.rs | 0 .../configs/reorder_imported_names/true.rs | 0 .../source/configs/reorder_imports/false.rs | 0 .../source/configs/reorder_imports/true.rs | 0 .../configs/reorder_imports_in_group/false.rs | 0 .../configs/reorder_imports_in_group/true.rs | 0 .../configs/reorder_modules/dolor/mod.rs | 0 .../source/configs/reorder_modules/false.rs | 0 .../configs/reorder_modules/ipsum/mod.rs | 0 .../configs/reorder_modules/lorem/mod.rs | 0 .../source/configs/reorder_modules/sit/mod.rs | 0 .../source/configs/reorder_modules/true.rs | 0 .../source/configs/skip_children/true.rs | 0 .../source/configs/space_before_colon/true.rs | 0 .../configs/spaces_around_ranges/false.rs | 0 .../configs/spaces_around_ranges/true.rs | 0 .../false.rs | 0 .../spaces_within_parens_and_brackets/true.rs | 0 .../struct_field_align_threshold/20.rs | 0 .../configs/struct_lit_single_line/false.rs | 0 .../source/configs/tab_spaces/2.rs | 0 .../source/configs/tab_spaces/4.rs | 0 .../source/configs/trailing_comma/always.rs | 0 .../source/configs/trailing_comma/never.rs | 0 .../source/configs/trailing_comma/vertical.rs | 0 .../type_punctuation_density/compressed.rs | 0 .../configs/type_punctuation_density/wide.rs | 0 .../configs/use_field_init_shorthand/false.rs | 0 .../configs/use_field_init_shorthand/true.rs | 0 .../source/configs/use_try_shorthand/false.rs | 0 .../source/configs/use_try_shorthand/true.rs | 0 .../source/configs/where_single_line/true.rs | 0 .../source/configs/wrap_comments/false.rs | 0 .../source/configs/wrap_comments/true.rs | 0 .../control-brace-style-always-next-line.rs | 0 .../control-brace-style-always-same-line.rs | 0 {rustfmt-core/tests => tests}/source/doc.rs | 0 .../else-if-brace-style-always-next-line.rs | 0 .../else-if-brace-style-always-same-line.rs | 0 .../else-if-brace-style-closing-next-line.rs | 0 .../tests => tests}/source/empty_file.rs | 0 {rustfmt-core/tests => tests}/source/enum.rs | 0 .../tests => tests}/source/expr-block.rs | 0 {rustfmt-core/tests => tests}/source/expr.rs | 0 .../tests => tests}/source/extern.rs | 0 .../source/extern_not_explicit.rs | 0 .../tests => tests}/source/file-lines-1.rs | 0 .../tests => tests}/source/file-lines-2.rs | 0 .../tests => tests}/source/file-lines-3.rs | 0 .../tests => tests}/source/file-lines-4.rs | 0 .../tests => tests}/source/file-lines-5.rs | 0 .../tests => tests}/source/file-lines-6.rs | 0 .../tests => tests}/source/file-lines-item.rs | 0 .../tests => tests}/source/fn-custom-2.rs | 0 .../tests => tests}/source/fn-custom-3.rs | 0 .../tests => tests}/source/fn-custom-4.rs | 0 .../tests => tests}/source/fn-custom-6.rs | 0 .../tests => tests}/source/fn-custom-7.rs | 0 .../tests => tests}/source/fn-custom-8.rs | 0 .../tests => tests}/source/fn-custom.rs | 0 .../tests => tests}/source/fn-simple.rs | 0 .../tests => tests}/source/fn-single-line.rs | 0 .../source/fn_args_density-vertical.rs | 0 .../source/fn_args_indent-block.rs | 0 .../tests => tests}/source/hard-tabs.rs | 0 {rustfmt-core/tests => tests}/source/hello.rs | 0 .../tests => tests}/source/hello2.rs | 0 .../source/immovable_generators.rs | 0 {rustfmt-core/tests => tests}/source/impls.rs | 0 .../source/imports-reorder-lines-and-items.rs | 0 .../source/imports-reorder-lines.rs | 0 .../tests => tests}/source/imports-reorder.rs | 0 .../tests => tests}/source/imports.rs | 0 .../tests => tests}/source/issue-1021.rs | 0 .../tests => tests}/source/issue-1049.rs | 0 .../tests => tests}/source/issue-1111.rs | 0 .../tests => tests}/source/issue-1120.rs | 0 .../tests => tests}/source/issue-1124.rs | 0 .../tests => tests}/source/issue-1127.rs | 0 .../tests => tests}/source/issue-1158.rs | 0 .../tests => tests}/source/issue-1177.rs | 0 .../tests => tests}/source/issue-1192.rs | 0 .../tests => tests}/source/issue-1211.rs | 0 .../tests => tests}/source/issue-1216.rs | 0 .../tests => tests}/source/issue-1239.rs | 0 .../tests => tests}/source/issue-1278.rs | 0 .../tests => tests}/source/issue-1350.rs | 0 .../tests => tests}/source/issue-1366.rs | 0 .../tests => tests}/source/issue-1468.rs | 0 .../tests => tests}/source/issue-1693.rs | 0 .../tests => tests}/source/issue-1800.rs | 0 .../tests => tests}/source/issue-1914.rs | 0 .../tests => tests}/source/issue-2025.rs | 0 .../tests => tests}/source/issue-2111.rs | 0 .../tests => tests}/source/issue-2164.rs | 0 .../tests => tests}/source/issue-2179.rs | 0 .../tests => tests}/source/issue-2256.rs | 0 .../tests => tests}/source/issue-2342.rs | 0 .../tests => tests}/source/issue-2446.rs | 0 .../tests => tests}/source/issue-2479.rs | 0 .../tests => tests}/source/issue-447.rs | 0 .../tests => tests}/source/issue-510.rs | 0 .../tests => tests}/source/issue-811.rs | 0 .../tests => tests}/source/issue-850.rs | 0 .../tests => tests}/source/issue-855.rs | 0 .../tests => tests}/source/issue-913.rs | 0 .../tests => tests}/source/issue-945.rs | 0 .../tests => tests}/source/issue-977.rs | 0 .../item-brace-style-always-next-line.rs | 0 .../item-brace-style-prefer-same-line.rs | 0 .../item-brace-style-same-line-where.rs | 0 .../tests => tests}/source/large-block.rs | 0 .../tests => tests}/source/large_vec.rs | 0 .../tests => tests}/source/lazy_static.rs | 0 .../source/long-match-arms-brace-newline.rs | 0 .../source/long_field_access.rs | 0 {rustfmt-core/tests => tests}/source/loop.rs | 0 .../tests => tests}/source/macro_not_expr.rs | 0 .../tests => tests}/source/macro_rules.rs | 0 .../tests => tests}/source/macros.rs | 0 .../source/markdown-comment-with-options.rs | 0 .../source/markdown-comment.rs | 0 .../source/match-block-trailing-comma.rs | 0 .../source/match-nowrap-trailing-comma.rs | 0 .../tests => tests}/source/match-nowrap.rs | 0 {rustfmt-core/tests => tests}/source/match.rs | 0 .../source/max-line-length-in-chars.rs | 0 {rustfmt-core/tests => tests}/source/mod-1.rs | 0 {rustfmt-core/tests => tests}/source/mod-2.rs | 0 .../tests => tests}/source/mod_skip_child.rs | 0 .../tests => tests}/source/multiple.rs | 0 .../tests => tests}/source/nested-if-else.rs | 0 .../source/nested_skipped/mod.rs | 0 .../tests => tests}/source/nestedmod/mod.rs | 0 .../tests => tests}/source/nestedmod/mod2a.rs | 0 .../tests => tests}/source/nestedmod/mod2b.rs | 0 .../tests => tests}/source/nestedmod/mod2c.rs | 0 .../source/nestedmod/mymod1/mod3a.rs | 0 .../source/nestedmod/submod2/a.rs | 0 .../source/nestedmod/submod2/mod.rs | 0 .../source/no_new_line_beginning.rs | 0 {rustfmt-core/tests => tests}/source/other.rs | 0 {rustfmt-core/tests => tests}/source/paths.rs | 0 .../source/pattern-condense-wildcards.rs | 0 .../tests => tests}/source/pattern.rs | 0 .../tests => tests}/source/pub-restricted.rs | 0 .../source/remove_blank_lines.rs | 0 .../source/single-line-if-else.rs | 0 .../tests => tests}/source/soft-wrapping.rs | 0 .../source/space-not-before-newline.rs | 0 .../source/spaces-around-ranges.rs | 0 .../tests => tests}/source/static.rs | 0 .../tests => tests}/source/string-lit-2.rs | 0 .../tests => tests}/source/string-lit.rs | 0 .../source/string_punctuation.rs | 0 .../source/struct-field-attributes.rs | 0 .../tests => tests}/source/struct_lits.rs | 0 .../source/struct_lits_multiline.rs | 0 .../source/struct_lits_visual.rs | 0 .../source/struct_lits_visual_multiline.rs | 0 .../source/struct_tuple_visual.rs | 0 .../tests => tests}/source/structs.rs | 0 .../source/trailing-comma-never.rs | 0 .../tests => tests}/source/trailing_commas.rs | 0 {rustfmt-core/tests => tests}/source/trait.rs | 0 .../tests => tests}/source/try-conversion.rs | 0 {rustfmt-core/tests => tests}/source/tuple.rs | 0 .../tests => tests}/source/type-ascription.rs | 0 {rustfmt-core/tests => tests}/source/type.rs | 0 .../tests => tests}/source/type_alias.rs | 0 .../tests => tests}/source/unions.rs | 0 .../source/where-clause-rfc.rs | 0 .../tests => tests}/source/where-clause.rs | 0 .../tests => tests}/target/assignment.rs | 0 .../target/associated-items.rs | 0 .../associated-types-bounds-wrapping.rs | 0 .../target/associated_type_defaults.rs | 0 .../target/attrib-extern-crate.rs | 0 .../tests => tests}/target/attrib.rs | 0 .../tests => tests}/target/big-impl-block.rs | 0 .../tests => tests}/target/big-impl-visual.rs | 0 .../target/break-and-continue.rs | 0 {rustfmt-core/tests => tests}/target/catch.rs | 0 .../tests => tests}/target/chains-visual.rs | 0 .../tests => tests}/target/chains.rs | 0 .../target/closure-block-inside-macro.rs | 0 .../tests => tests}/target/closure.rs | 0 .../target/comment-inside-const.rs | 0 .../target/comment-not-disappear.rs | 0 .../tests => tests}/target/comment.rs | 0 .../tests => tests}/target/comment2.rs | 0 .../tests => tests}/target/comment3.rs | 0 .../tests => tests}/target/comment4.rs | 0 .../tests => tests}/target/comment5.rs | 0 .../target/comment_crlf_newline.rs | 0 .../tests => tests}/target/comments-fn.rs | 0 .../configs/blank_lines_lower_bound/1.rs | 0 .../brace_style/fn_always_next_line.rs | 0 .../brace_style/fn_prefer_same_line.rs | 0 .../configs/brace_style/fn_same_line_where.rs | 0 .../brace_style/item_always_next_line.rs | 0 .../brace_style/item_prefer_same_line.rs | 0 .../brace_style/item_same_line_where.rs | 0 .../configs/combine_control_expr/false.rs | 0 .../configs/combine_control_expr/true.rs | 0 .../target/configs/comment_width/above.rs | 0 .../target/configs/comment_width/below.rs | 0 .../target/configs/comment_width/ignore.rs | 0 .../condense_wildcard_suffixes/false.rs | 0 .../condense_wildcard_suffixes/true.rs | 0 .../control_brace_style/always_next_line.rs | 0 .../control_brace_style/always_same_line.rs | 0 .../control_brace_style/closing_next_line.rs | 0 .../configs/disable_all_formatting/false.rs | 0 .../configs/disable_all_formatting/true.rs | 0 .../configs/empty_item_single_line/false.rs | 0 .../configs/empty_item_single_line/true.rs | 0 .../configs/error_on_line_overflow/false.rs | 0 .../configs/error_on_unformatted/false.rs | 0 .../configs/fn_args_density/compressed.rs | 0 .../target/configs/fn_args_density/tall.rs | 0 .../configs/fn_args_density/vertical.rs | 0 .../target/configs/fn_single_line/false.rs | 0 .../target/configs/fn_single_line/true.rs | 0 .../configs/force_explicit_abi/false.rs | 0 .../target/configs/force_explicit_abi/true.rs | 0 .../configs/force_multiline_block/false.rs | 0 .../configs/force_multiline_block/true.rs | 0 .../target/configs/format_strings/false.rs | 0 .../target/configs/format_strings/true.rs | 0 .../target/configs/hard_tabs/false.rs | 0 .../target/configs/hard_tabs/true.rs | 0 .../target/configs/imports_indent/block.rs | 0 .../imports_layout/horizontal_vertical.rs | 0 .../target/configs/imports_layout/mixed.rs | 0 .../target/configs/indent_style/block_args.rs | 0 .../configs/indent_style/block_array.rs | 0 .../target/configs/indent_style/block_call.rs | 0 .../configs/indent_style/block_chain.rs | 0 .../configs/indent_style/block_generic.rs | 0 .../configs/indent_style/block_struct_lit.rs | 0 .../indent_style/block_tab_spaces_call.rs | 0 .../indent_style/block_trailing_comma_call.rs | 0 .../configs/indent_style/block_where_pred.rs | 0 .../target/configs/indent_style/default.rs | 0 .../configs/indent_style/rfc_control.rs | 0 .../target/configs/indent_style/rfc_where.rs | 0 .../configs/indent_style/visual_args.rs | 0 .../configs/indent_style/visual_array.rs | 0 .../configs/indent_style/visual_call.rs | 0 .../configs/indent_style/visual_chain.rs | 0 .../configs/indent_style/visual_generics.rs | 0 .../configs/indent_style/visual_struct_lit.rs | 0 .../indent_style/visual_trailing_comma.rs | 0 .../configs/indent_style/visual_where_pred.rs | 0 .../target/configs/match_arm_blocks/false.rs | 0 .../target/configs/match_arm_blocks/true.rs | 0 .../match_block_trailing_comma/false.rs | 0 .../match_block_trailing_comma/true.rs | 0 .../target/configs/merge_derives/true.rs | 0 .../configs/normalize_comments/false.rs | 0 .../target/configs/normalize_comments/true.rs | 0 .../configs/reorder_extern_crates/false.rs | 0 .../configs/reorder_extern_crates/true.rs | 0 .../configs/reorder_imported_names/false.rs | 0 .../configs/reorder_imported_names/true.rs | 0 .../target/configs/reorder_imports/false.rs | 0 .../target/configs/reorder_imports/true.rs | 0 .../configs/reorder_imports_in_group/false.rs | 0 .../configs/reorder_imports_in_group/true.rs | 0 .../configs/reorder_modules/dolor/mod.rs | 0 .../target/configs/reorder_modules/false.rs | 0 .../configs/reorder_modules/ipsum/mod.rs | 0 .../configs/reorder_modules/lorem/mod.rs | 0 .../target/configs/reorder_modules/sit/mod.rs | 0 .../target/configs/reorder_modules/true.rs | 0 .../target/configs/skip_children/true.rs | 0 .../target/configs/space_before_colon/true.rs | 0 .../configs/spaces_around_ranges/false.rs | 0 .../configs/spaces_around_ranges/true.rs | 0 .../false.rs | 0 .../spaces_within_parens_and_brackets/true.rs | 0 .../struct_field_align_threshold/20.rs | 0 .../configs/struct_lit_single_line/false.rs | 0 .../target/configs/tab_spaces/2.rs | 0 .../target/configs/tab_spaces/4.rs | 0 .../target/configs/trailing_comma/always.rs | 0 .../target/configs/trailing_comma/never.rs | 0 .../target/configs/trailing_comma/vertical.rs | 0 .../configs/trailing_semicolon/false.rs | 0 .../target/configs/trailing_semicolon/true.rs | 0 .../type_punctuation_density/compressed.rs | 0 .../configs/type_punctuation_density/wide.rs | 0 .../configs/use_field_init_shorthand/false.rs | 0 .../configs/use_field_init_shorthand/true.rs | 0 .../target/configs/use_try_shorthand/false.rs | 0 .../target/configs/use_try_shorthand/true.rs | 0 .../target/configs/where_single_line/true.rs | 0 .../target/configs/wrap_comments/false.rs | 0 .../target/configs/wrap_comments/true.rs | 0 .../control-brace-style-always-next-line.rs | 0 .../control-brace-style-always-same-line.rs | 0 {rustfmt-core/tests => tests}/target/doc.rs | 0 .../else-if-brace-style-always-next-line.rs | 0 .../else-if-brace-style-always-same-line.rs | 0 .../else-if-brace-style-closing-next-line.rs | 0 ...mpty-tuple-no-conversion-to-unit-struct.rs | 0 .../tests => tests}/target/empty_file.rs | 0 {rustfmt-core/tests => tests}/target/enum.rs | 0 .../tests => tests}/target/expr-block.rs | 0 {rustfmt-core/tests => tests}/target/expr.rs | 0 .../tests => tests}/target/extern.rs | 0 .../target/extern_not_explicit.rs | 0 .../tests => tests}/target/file-lines-1.rs | 0 .../tests => tests}/target/file-lines-2.rs | 0 .../tests => tests}/target/file-lines-3.rs | 0 .../tests => tests}/target/file-lines-4.rs | 0 .../tests => tests}/target/file-lines-5.rs | 0 .../tests => tests}/target/file-lines-6.rs | 0 .../tests => tests}/target/file-lines-item.rs | 0 .../target/fn-args-with-last-line-comment.rs | 0 .../tests => tests}/target/fn-custom-2.rs | 0 .../tests => tests}/target/fn-custom-3.rs | 0 .../tests => tests}/target/fn-custom-4.rs | 0 .../tests => tests}/target/fn-custom-6.rs | 0 .../tests => tests}/target/fn-custom-7.rs | 0 .../tests => tests}/target/fn-custom-8.rs | 0 .../tests => tests}/target/fn-custom.rs | 0 .../tests => tests}/target/fn-simple.rs | 0 .../tests => tests}/target/fn-single-line.rs | 0 {rustfmt-core/tests => tests}/target/fn-ty.rs | 0 {rustfmt-core/tests => tests}/target/fn.rs | 0 .../target/fn_args_density-vertical.rs | 0 .../target/fn_args_indent-block.rs | 0 .../tests => tests}/target/fn_once.rs | 0 .../tests => tests}/target/hard-tabs.rs | 0 {rustfmt-core/tests => tests}/target/hello.rs | 0 .../target/immovable_generators.rs | 0 {rustfmt-core/tests => tests}/target/impl.rs | 0 {rustfmt-core/tests => tests}/target/impls.rs | 0 .../target/import-fencepost-length.rs | 0 .../target/imports-reorder-lines-and-items.rs | 0 .../target/imports-reorder-lines.rs | 0 .../tests => tests}/target/imports-reorder.rs | 0 .../tests => tests}/target/imports.rs | 0 .../tests => tests}/target/indented-impl.rs | 0 .../tests => tests}/target/issue-1021.rs | 0 .../tests => tests}/target/issue-1049.rs | 0 .../tests => tests}/target/issue-1055.rs | 0 .../tests => tests}/target/issue-1111.rs | 0 .../tests => tests}/target/issue-1113.rs | 0 .../tests => tests}/target/issue-1120.rs | 0 .../tests => tests}/target/issue-1124.rs | 0 .../tests => tests}/target/issue-1127.rs | 0 .../tests => tests}/target/issue-1158.rs | 0 .../tests => tests}/target/issue-1177.rs | 0 .../tests => tests}/target/issue-1192.rs | 0 .../tests => tests}/target/issue-1211.rs | 0 .../tests => tests}/target/issue-1214.rs | 0 .../tests => tests}/target/issue-1216.rs | 0 .../tests => tests}/target/issue-1239.rs | 0 .../tests => tests}/target/issue-1247.rs | 0 .../tests => tests}/target/issue-1255.rs | 0 .../tests => tests}/target/issue-1278.rs | 0 .../tests => tests}/target/issue-1350.rs | 0 .../tests => tests}/target/issue-1366.rs | 0 .../tests => tests}/target/issue-1397.rs | 0 .../tests => tests}/target/issue-1468.rs | 0 .../tests => tests}/target/issue-1598.rs | 0 .../tests => tests}/target/issue-1624.rs | 0 .../tests => tests}/target/issue-1681.rs | 0 .../tests => tests}/target/issue-1693.rs | 0 .../tests => tests}/target/issue-1703.rs | 0 .../tests => tests}/target/issue-1800.rs | 0 .../tests => tests}/target/issue-1802.rs | 0 .../tests => tests}/target/issue-1824.rs | 0 .../tests => tests}/target/issue-1914.rs | 0 .../tests => tests}/target/issue-2025.rs | 0 .../tests => tests}/target/issue-2103.rs | 0 .../tests => tests}/target/issue-2111.rs | 0 .../tests => tests}/target/issue-2123.rs | 0 .../tests => tests}/target/issue-2164.rs | 0 .../tests => tests}/target/issue-2179.rs | 0 .../tests => tests}/target/issue-2197.rs | 0 .../tests => tests}/target/issue-2256.rs | 0 .../tests => tests}/target/issue-2324.rs | 0 .../tests => tests}/target/issue-2329.rs | 0 .../tests => tests}/target/issue-2342.rs | 0 .../tests => tests}/target/issue-2346.rs | 0 .../tests => tests}/target/issue-2401.rs | 0 .../tests => tests}/target/issue-2446.rs | 0 .../tests => tests}/target/issue-2479.rs | 0 .../tests => tests}/target/issue-447.rs | 0 .../tests => tests}/target/issue-510.rs | 0 .../tests => tests}/target/issue-64.rs | 0 .../tests => tests}/target/issue-691.rs | 0 .../tests => tests}/target/issue-770.rs | 0 .../tests => tests}/target/issue-811.rs | 0 .../tests => tests}/target/issue-831.rs | 0 .../tests => tests}/target/issue-850.rs | 0 .../tests => tests}/target/issue-855.rs | 0 .../tests => tests}/target/issue-913.rs | 0 .../tests => tests}/target/issue-945.rs | 0 .../tests => tests}/target/issue-977.rs | 0 .../item-brace-style-always-next-line.rs | 0 .../item-brace-style-prefer-same-line.rs | 0 .../item-brace-style-same-line-where.rs | 0 .../tests => tests}/target/large-block.rs | 0 .../tests => tests}/target/large_vec.rs | 0 .../tests => tests}/target/lazy_static.rs | 0 .../tests => tests}/target/long-fn-1.rs | 0 .../target/long-match-arms-brace-newline.rs | 0 .../target/long_field_access.rs | 0 {rustfmt-core/tests => tests}/target/loop.rs | 0 .../tests => tests}/target/macro_not_expr.rs | 0 .../tests => tests}/target/macro_rules.rs | 0 .../tests => tests}/target/macros.rs | 0 .../target/markdown-comment-with-options.rs | 0 .../target/markdown-comment.rs | 0 .../target/match-block-trailing-comma.rs | 0 .../target/match-nowrap-trailing-comma.rs | 0 .../tests => tests}/target/match-nowrap.rs | 0 {rustfmt-core/tests => tests}/target/match.rs | 0 .../target/max-line-length-in-chars.rs | 0 {rustfmt-core/tests => tests}/target/mod-1.rs | 0 {rustfmt-core/tests => tests}/target/mod-2.rs | 0 .../tests => tests}/target/mod_skip_child.rs | 0 .../tests => tests}/target/mulit-file.rs | 0 .../tests => tests}/target/multiple.rs | 0 .../tests => tests}/target/nested-if-else.rs | 0 .../target/nested-visual-block.rs | 0 .../target/nested_skipped/mod.rs | 0 .../tests => tests}/target/nestedmod/mod.rs | 0 .../tests => tests}/target/nestedmod/mod2a.rs | 0 .../tests => tests}/target/nestedmod/mod2b.rs | 0 .../tests => tests}/target/nestedmod/mod2c.rs | 0 .../target/nestedmod/mymod1/mod3a.rs | 0 .../target/nestedmod/submod2/a.rs | 0 .../target/nestedmod/submod2/mod.rs | 0 .../target/no_new_line_beginning.rs | 0 {rustfmt-core/tests => tests}/target/other.rs | 0 {rustfmt-core/tests => tests}/target/paths.rs | 0 .../target/pattern-condense-wildcards.rs | 0 .../tests => tests}/target/pattern.rs | 0 .../tests => tests}/target/pub-restricted.rs | 0 .../target/remove_blank_lines.rs | 0 .../target/single-line-if-else.rs | 0 {rustfmt-core/tests => tests}/target/skip.rs | 0 .../tests => tests}/target/skip_mod.rs | 0 .../tests => tests}/target/soft-wrapping.rs | 0 .../target/space-not-before-newline.rs | 0 .../target/spaces-around-ranges.rs | 0 .../tests => tests}/target/static.rs | 0 .../tests => tests}/target/string-lit-2.rs | 0 .../target/string-lit-custom.rs | 0 .../tests => tests}/target/string-lit.rs | 0 .../target/string_punctuation.rs | 0 .../target/struct-field-attributes.rs | 0 .../tests => tests}/target/struct_lits.rs | 0 .../target/struct_lits_multiline.rs | 0 .../target/struct_lits_visual.rs | 0 .../target/struct_lits_visual_multiline.rs | 0 .../target/struct_tuple_visual.rs | 0 .../tests => tests}/target/structs.rs | 0 .../target/trailing-comma-never.rs | 0 .../tests => tests}/target/trailing_commas.rs | 0 {rustfmt-core/tests => tests}/target/trait.rs | 0 .../tests => tests}/target/try-conversion.rs | 0 {rustfmt-core/tests => tests}/target/tuple.rs | 0 .../tests => tests}/target/type-ascription.rs | 0 {rustfmt-core/tests => tests}/target/type.rs | 0 .../tests => tests}/target/type_alias.rs | 0 .../target/unindent_if_else_cond_comment.rs | 0 .../tests => tests}/target/unions.rs | 0 .../target/where-clause-rfc.rs | 0 .../tests => tests}/target/where-clause.rs | 0 .../writemode/source/fn-single-line.rs | 0 .../writemode/source/modified.rs | 0 .../writemode/target/checkstyle.xml | 0 .../writemode/target/modified.txt | 0 573 files changed, 8 insertions(+), 212 deletions(-) delete mode 100644 cargo-fmt/Cargo.toml delete mode 100644 git-rustfmt/Cargo.toml delete mode 100644 rustfmt-bin/Cargo.toml delete mode 100644 rustfmt-bin/build.rs delete mode 100644 rustfmt-config/Cargo.toml delete mode 100644 rustfmt-config/README.md delete mode 100644 rustfmt-core/Cargo.toml delete mode 100644 rustfmt-core/README.md delete mode 100644 rustfmt-format-diff/Cargo.toml rename {rustfmt-core/tests => tests}/config/disable_all_formatting.toml (100%) rename {rustfmt-core/tests => tests}/config/issue-1111.toml (100%) rename {rustfmt-core/tests => tests}/config/small_tabs.toml (100%) rename {rustfmt-core/tests => tests}/coverage/source/comments.rs (100%) rename {rustfmt-core/tests => tests}/coverage/target/comments.rs (100%) rename {rustfmt-core/tests => tests}/lib.rs (97%) rename {rustfmt-core/tests => tests}/source/assignment.rs (100%) rename {rustfmt-core/tests => tests}/source/associated-types-bounds-wrapping.rs (100%) rename {rustfmt-core/tests => tests}/source/attrib.rs (100%) rename {rustfmt-core/tests => tests}/source/big-impl-block.rs (100%) rename {rustfmt-core/tests => tests}/source/big-impl-visual.rs (100%) rename {rustfmt-core/tests => tests}/source/break-and-continue.rs (100%) rename {rustfmt-core/tests => tests}/source/catch.rs (100%) rename {rustfmt-core/tests => tests}/source/chains-visual.rs (100%) rename {rustfmt-core/tests => tests}/source/chains.rs (100%) rename {rustfmt-core/tests => tests}/source/closure-block-inside-macro.rs (100%) rename {rustfmt-core/tests => tests}/source/closure.rs (100%) rename {rustfmt-core/tests => tests}/source/comment.rs (100%) rename {rustfmt-core/tests => tests}/source/comment2.rs (100%) rename {rustfmt-core/tests => tests}/source/comment3.rs (100%) rename {rustfmt-core/tests => tests}/source/comment4.rs (100%) rename {rustfmt-core/tests => tests}/source/comment5.rs (100%) rename {rustfmt-core/tests => tests}/source/comment_crlf_newline.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/blank_lines_lower_bound/1.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/brace_style/fn_always_next_line.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/brace_style/fn_prefer_same_line.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/brace_style/fn_same_line_where.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/brace_style/item_always_next_line.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/brace_style/item_prefer_same_line.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/brace_style/item_same_line_where.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/comment_width/above.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/comment_width/below.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/comment_width/ignore.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/condense_wildcard_suffixes/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/condense_wildcard_suffixes/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/control_brace_style/always_next_line.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/control_brace_style/always_same_line.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/control_brace_style/closing_next_line.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/disable_all_formatting/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/disable_all_formatting/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/empty_item_single_line/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/empty_item_single_line/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/error_on_line_overflow/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/fn_args_density/compressed.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/fn_args_density/tall.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/fn_args_density/vertical.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/fn_single_line/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/fn_single_line/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/force_explicit_abi/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/force_explicit_abi/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/force_multiline_block/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/force_multiline_block/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/format_strings/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/format_strings/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/hard_tabs/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/hard_tabs/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/block_args.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/block_array.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/block_call.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/block_chain.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/block_generic.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/block_struct_lit.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/block_trailing_comma_call.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/block_where_pred.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/default.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/rfc_where.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/visual_args.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/visual_array.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/visual_call.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/visual_chain.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/visual_generics.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/visual_struct_lit.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/visual_trailing_comma.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/indent_style/visual_where_pred.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/match_arm_blocks/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/match_arm_blocks/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/match_block_trailing_comma/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/match_block_trailing_comma/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/merge_derives/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/normalize_comments/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/normalize_comments/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/reorder_extern_crates/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/reorder_extern_crates/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/reorder_imported_names/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/reorder_imported_names/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/reorder_imports/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/reorder_imports/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/reorder_imports_in_group/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/reorder_imports_in_group/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/reorder_modules/dolor/mod.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/reorder_modules/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/reorder_modules/ipsum/mod.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/reorder_modules/lorem/mod.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/reorder_modules/sit/mod.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/reorder_modules/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/skip_children/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/space_before_colon/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/spaces_around_ranges/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/spaces_around_ranges/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/spaces_within_parens_and_brackets/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/spaces_within_parens_and_brackets/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/struct_field_align_threshold/20.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/struct_lit_single_line/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/tab_spaces/2.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/tab_spaces/4.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/trailing_comma/always.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/trailing_comma/never.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/trailing_comma/vertical.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/type_punctuation_density/compressed.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/type_punctuation_density/wide.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/use_field_init_shorthand/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/use_field_init_shorthand/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/use_try_shorthand/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/use_try_shorthand/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/where_single_line/true.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/wrap_comments/false.rs (100%) rename {rustfmt-core/tests => tests}/source/configs/wrap_comments/true.rs (100%) rename {rustfmt-core/tests => tests}/source/control-brace-style-always-next-line.rs (100%) rename {rustfmt-core/tests => tests}/source/control-brace-style-always-same-line.rs (100%) rename {rustfmt-core/tests => tests}/source/doc.rs (100%) rename {rustfmt-core/tests => tests}/source/else-if-brace-style-always-next-line.rs (100%) rename {rustfmt-core/tests => tests}/source/else-if-brace-style-always-same-line.rs (100%) rename {rustfmt-core/tests => tests}/source/else-if-brace-style-closing-next-line.rs (100%) rename {rustfmt-core/tests => tests}/source/empty_file.rs (100%) rename {rustfmt-core/tests => tests}/source/enum.rs (100%) rename {rustfmt-core/tests => tests}/source/expr-block.rs (100%) rename {rustfmt-core/tests => tests}/source/expr.rs (100%) rename {rustfmt-core/tests => tests}/source/extern.rs (100%) rename {rustfmt-core/tests => tests}/source/extern_not_explicit.rs (100%) rename {rustfmt-core/tests => tests}/source/file-lines-1.rs (100%) rename {rustfmt-core/tests => tests}/source/file-lines-2.rs (100%) rename {rustfmt-core/tests => tests}/source/file-lines-3.rs (100%) rename {rustfmt-core/tests => tests}/source/file-lines-4.rs (100%) rename {rustfmt-core/tests => tests}/source/file-lines-5.rs (100%) rename {rustfmt-core/tests => tests}/source/file-lines-6.rs (100%) rename {rustfmt-core/tests => tests}/source/file-lines-item.rs (100%) rename {rustfmt-core/tests => tests}/source/fn-custom-2.rs (100%) rename {rustfmt-core/tests => tests}/source/fn-custom-3.rs (100%) rename {rustfmt-core/tests => tests}/source/fn-custom-4.rs (100%) rename {rustfmt-core/tests => tests}/source/fn-custom-6.rs (100%) rename {rustfmt-core/tests => tests}/source/fn-custom-7.rs (100%) rename {rustfmt-core/tests => tests}/source/fn-custom-8.rs (100%) rename {rustfmt-core/tests => tests}/source/fn-custom.rs (100%) rename {rustfmt-core/tests => tests}/source/fn-simple.rs (100%) rename {rustfmt-core/tests => tests}/source/fn-single-line.rs (100%) rename {rustfmt-core/tests => tests}/source/fn_args_density-vertical.rs (100%) rename {rustfmt-core/tests => tests}/source/fn_args_indent-block.rs (100%) rename {rustfmt-core/tests => tests}/source/hard-tabs.rs (100%) rename {rustfmt-core/tests => tests}/source/hello.rs (100%) rename {rustfmt-core/tests => tests}/source/hello2.rs (100%) rename {rustfmt-core/tests => tests}/source/immovable_generators.rs (100%) rename {rustfmt-core/tests => tests}/source/impls.rs (100%) rename {rustfmt-core/tests => tests}/source/imports-reorder-lines-and-items.rs (100%) rename {rustfmt-core/tests => tests}/source/imports-reorder-lines.rs (100%) rename {rustfmt-core/tests => tests}/source/imports-reorder.rs (100%) rename {rustfmt-core/tests => tests}/source/imports.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1021.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1049.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1111.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1120.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1124.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1127.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1158.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1177.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1192.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1211.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1216.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1239.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1278.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1350.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1366.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1468.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1693.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1800.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-1914.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-2025.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-2111.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-2164.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-2179.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-2256.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-2342.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-2446.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-2479.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-447.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-510.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-811.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-850.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-855.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-913.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-945.rs (100%) rename {rustfmt-core/tests => tests}/source/issue-977.rs (100%) rename {rustfmt-core/tests => tests}/source/item-brace-style-always-next-line.rs (100%) rename {rustfmt-core/tests => tests}/source/item-brace-style-prefer-same-line.rs (100%) rename {rustfmt-core/tests => tests}/source/item-brace-style-same-line-where.rs (100%) rename {rustfmt-core/tests => tests}/source/large-block.rs (100%) rename {rustfmt-core/tests => tests}/source/large_vec.rs (100%) rename {rustfmt-core/tests => tests}/source/lazy_static.rs (100%) rename {rustfmt-core/tests => tests}/source/long-match-arms-brace-newline.rs (100%) rename {rustfmt-core/tests => tests}/source/long_field_access.rs (100%) rename {rustfmt-core/tests => tests}/source/loop.rs (100%) rename {rustfmt-core/tests => tests}/source/macro_not_expr.rs (100%) rename {rustfmt-core/tests => tests}/source/macro_rules.rs (100%) rename {rustfmt-core/tests => tests}/source/macros.rs (100%) rename {rustfmt-core/tests => tests}/source/markdown-comment-with-options.rs (100%) rename {rustfmt-core/tests => tests}/source/markdown-comment.rs (100%) rename {rustfmt-core/tests => tests}/source/match-block-trailing-comma.rs (100%) rename {rustfmt-core/tests => tests}/source/match-nowrap-trailing-comma.rs (100%) rename {rustfmt-core/tests => tests}/source/match-nowrap.rs (100%) rename {rustfmt-core/tests => tests}/source/match.rs (100%) rename {rustfmt-core/tests => tests}/source/max-line-length-in-chars.rs (100%) rename {rustfmt-core/tests => tests}/source/mod-1.rs (100%) rename {rustfmt-core/tests => tests}/source/mod-2.rs (100%) rename {rustfmt-core/tests => tests}/source/mod_skip_child.rs (100%) rename {rustfmt-core/tests => tests}/source/multiple.rs (100%) rename {rustfmt-core/tests => tests}/source/nested-if-else.rs (100%) rename {rustfmt-core/tests => tests}/source/nested_skipped/mod.rs (100%) rename {rustfmt-core/tests => tests}/source/nestedmod/mod.rs (100%) rename {rustfmt-core/tests => tests}/source/nestedmod/mod2a.rs (100%) rename {rustfmt-core/tests => tests}/source/nestedmod/mod2b.rs (100%) rename {rustfmt-core/tests => tests}/source/nestedmod/mod2c.rs (100%) rename {rustfmt-core/tests => tests}/source/nestedmod/mymod1/mod3a.rs (100%) rename {rustfmt-core/tests => tests}/source/nestedmod/submod2/a.rs (100%) rename {rustfmt-core/tests => tests}/source/nestedmod/submod2/mod.rs (100%) rename {rustfmt-core/tests => tests}/source/no_new_line_beginning.rs (100%) rename {rustfmt-core/tests => tests}/source/other.rs (100%) rename {rustfmt-core/tests => tests}/source/paths.rs (100%) rename {rustfmt-core/tests => tests}/source/pattern-condense-wildcards.rs (100%) rename {rustfmt-core/tests => tests}/source/pattern.rs (100%) rename {rustfmt-core/tests => tests}/source/pub-restricted.rs (100%) rename {rustfmt-core/tests => tests}/source/remove_blank_lines.rs (100%) rename {rustfmt-core/tests => tests}/source/single-line-if-else.rs (100%) rename {rustfmt-core/tests => tests}/source/soft-wrapping.rs (100%) rename {rustfmt-core/tests => tests}/source/space-not-before-newline.rs (100%) rename {rustfmt-core/tests => tests}/source/spaces-around-ranges.rs (100%) rename {rustfmt-core/tests => tests}/source/static.rs (100%) rename {rustfmt-core/tests => tests}/source/string-lit-2.rs (100%) rename {rustfmt-core/tests => tests}/source/string-lit.rs (100%) rename {rustfmt-core/tests => tests}/source/string_punctuation.rs (100%) rename {rustfmt-core/tests => tests}/source/struct-field-attributes.rs (100%) rename {rustfmt-core/tests => tests}/source/struct_lits.rs (100%) rename {rustfmt-core/tests => tests}/source/struct_lits_multiline.rs (100%) rename {rustfmt-core/tests => tests}/source/struct_lits_visual.rs (100%) rename {rustfmt-core/tests => tests}/source/struct_lits_visual_multiline.rs (100%) rename {rustfmt-core/tests => tests}/source/struct_tuple_visual.rs (100%) rename {rustfmt-core/tests => tests}/source/structs.rs (100%) rename {rustfmt-core/tests => tests}/source/trailing-comma-never.rs (100%) rename {rustfmt-core/tests => tests}/source/trailing_commas.rs (100%) rename {rustfmt-core/tests => tests}/source/trait.rs (100%) rename {rustfmt-core/tests => tests}/source/try-conversion.rs (100%) rename {rustfmt-core/tests => tests}/source/tuple.rs (100%) rename {rustfmt-core/tests => tests}/source/type-ascription.rs (100%) rename {rustfmt-core/tests => tests}/source/type.rs (100%) rename {rustfmt-core/tests => tests}/source/type_alias.rs (100%) rename {rustfmt-core/tests => tests}/source/unions.rs (100%) rename {rustfmt-core/tests => tests}/source/where-clause-rfc.rs (100%) rename {rustfmt-core/tests => tests}/source/where-clause.rs (100%) rename {rustfmt-core/tests => tests}/target/assignment.rs (100%) rename {rustfmt-core/tests => tests}/target/associated-items.rs (100%) rename {rustfmt-core/tests => tests}/target/associated-types-bounds-wrapping.rs (100%) rename {rustfmt-core/tests => tests}/target/associated_type_defaults.rs (100%) rename {rustfmt-core/tests => tests}/target/attrib-extern-crate.rs (100%) rename {rustfmt-core/tests => tests}/target/attrib.rs (100%) rename {rustfmt-core/tests => tests}/target/big-impl-block.rs (100%) rename {rustfmt-core/tests => tests}/target/big-impl-visual.rs (100%) rename {rustfmt-core/tests => tests}/target/break-and-continue.rs (100%) rename {rustfmt-core/tests => tests}/target/catch.rs (100%) rename {rustfmt-core/tests => tests}/target/chains-visual.rs (100%) rename {rustfmt-core/tests => tests}/target/chains.rs (100%) rename {rustfmt-core/tests => tests}/target/closure-block-inside-macro.rs (100%) rename {rustfmt-core/tests => tests}/target/closure.rs (100%) rename {rustfmt-core/tests => tests}/target/comment-inside-const.rs (100%) rename {rustfmt-core/tests => tests}/target/comment-not-disappear.rs (100%) rename {rustfmt-core/tests => tests}/target/comment.rs (100%) rename {rustfmt-core/tests => tests}/target/comment2.rs (100%) rename {rustfmt-core/tests => tests}/target/comment3.rs (100%) rename {rustfmt-core/tests => tests}/target/comment4.rs (100%) rename {rustfmt-core/tests => tests}/target/comment5.rs (100%) rename {rustfmt-core/tests => tests}/target/comment_crlf_newline.rs (100%) rename {rustfmt-core/tests => tests}/target/comments-fn.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/blank_lines_lower_bound/1.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/brace_style/fn_always_next_line.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/brace_style/fn_prefer_same_line.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/brace_style/fn_same_line_where.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/brace_style/item_always_next_line.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/brace_style/item_prefer_same_line.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/brace_style/item_same_line_where.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/combine_control_expr/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/combine_control_expr/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/comment_width/above.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/comment_width/below.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/comment_width/ignore.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/condense_wildcard_suffixes/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/condense_wildcard_suffixes/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/control_brace_style/always_next_line.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/control_brace_style/always_same_line.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/control_brace_style/closing_next_line.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/disable_all_formatting/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/disable_all_formatting/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/empty_item_single_line/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/empty_item_single_line/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/error_on_line_overflow/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/error_on_unformatted/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/fn_args_density/compressed.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/fn_args_density/tall.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/fn_args_density/vertical.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/fn_single_line/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/fn_single_line/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/force_explicit_abi/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/force_explicit_abi/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/force_multiline_block/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/force_multiline_block/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/format_strings/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/format_strings/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/hard_tabs/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/hard_tabs/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/imports_indent/block.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/imports_layout/horizontal_vertical.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/imports_layout/mixed.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/block_args.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/block_array.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/block_call.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/block_chain.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/block_generic.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/block_struct_lit.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/block_tab_spaces_call.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/block_trailing_comma_call.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/block_where_pred.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/default.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/rfc_control.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/rfc_where.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/visual_args.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/visual_array.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/visual_call.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/visual_chain.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/visual_generics.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/visual_struct_lit.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/visual_trailing_comma.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/indent_style/visual_where_pred.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/match_arm_blocks/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/match_arm_blocks/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/match_block_trailing_comma/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/match_block_trailing_comma/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/merge_derives/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/normalize_comments/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/normalize_comments/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/reorder_extern_crates/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/reorder_extern_crates/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/reorder_imported_names/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/reorder_imported_names/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/reorder_imports/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/reorder_imports/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/reorder_imports_in_group/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/reorder_imports_in_group/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/reorder_modules/dolor/mod.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/reorder_modules/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/reorder_modules/ipsum/mod.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/reorder_modules/lorem/mod.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/reorder_modules/sit/mod.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/reorder_modules/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/skip_children/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/space_before_colon/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/spaces_around_ranges/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/spaces_around_ranges/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/spaces_within_parens_and_brackets/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/spaces_within_parens_and_brackets/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/struct_field_align_threshold/20.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/struct_lit_single_line/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/tab_spaces/2.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/tab_spaces/4.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/trailing_comma/always.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/trailing_comma/never.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/trailing_comma/vertical.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/trailing_semicolon/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/trailing_semicolon/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/type_punctuation_density/compressed.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/type_punctuation_density/wide.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/use_field_init_shorthand/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/use_field_init_shorthand/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/use_try_shorthand/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/use_try_shorthand/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/where_single_line/true.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/wrap_comments/false.rs (100%) rename {rustfmt-core/tests => tests}/target/configs/wrap_comments/true.rs (100%) rename {rustfmt-core/tests => tests}/target/control-brace-style-always-next-line.rs (100%) rename {rustfmt-core/tests => tests}/target/control-brace-style-always-same-line.rs (100%) rename {rustfmt-core/tests => tests}/target/doc.rs (100%) rename {rustfmt-core/tests => tests}/target/else-if-brace-style-always-next-line.rs (100%) rename {rustfmt-core/tests => tests}/target/else-if-brace-style-always-same-line.rs (100%) rename {rustfmt-core/tests => tests}/target/else-if-brace-style-closing-next-line.rs (100%) rename {rustfmt-core/tests => tests}/target/empty-tuple-no-conversion-to-unit-struct.rs (100%) rename {rustfmt-core/tests => tests}/target/empty_file.rs (100%) rename {rustfmt-core/tests => tests}/target/enum.rs (100%) rename {rustfmt-core/tests => tests}/target/expr-block.rs (100%) rename {rustfmt-core/tests => tests}/target/expr.rs (100%) rename {rustfmt-core/tests => tests}/target/extern.rs (100%) rename {rustfmt-core/tests => tests}/target/extern_not_explicit.rs (100%) rename {rustfmt-core/tests => tests}/target/file-lines-1.rs (100%) rename {rustfmt-core/tests => tests}/target/file-lines-2.rs (100%) rename {rustfmt-core/tests => tests}/target/file-lines-3.rs (100%) rename {rustfmt-core/tests => tests}/target/file-lines-4.rs (100%) rename {rustfmt-core/tests => tests}/target/file-lines-5.rs (100%) rename {rustfmt-core/tests => tests}/target/file-lines-6.rs (100%) rename {rustfmt-core/tests => tests}/target/file-lines-item.rs (100%) rename {rustfmt-core/tests => tests}/target/fn-args-with-last-line-comment.rs (100%) rename {rustfmt-core/tests => tests}/target/fn-custom-2.rs (100%) rename {rustfmt-core/tests => tests}/target/fn-custom-3.rs (100%) rename {rustfmt-core/tests => tests}/target/fn-custom-4.rs (100%) rename {rustfmt-core/tests => tests}/target/fn-custom-6.rs (100%) rename {rustfmt-core/tests => tests}/target/fn-custom-7.rs (100%) rename {rustfmt-core/tests => tests}/target/fn-custom-8.rs (100%) rename {rustfmt-core/tests => tests}/target/fn-custom.rs (100%) rename {rustfmt-core/tests => tests}/target/fn-simple.rs (100%) rename {rustfmt-core/tests => tests}/target/fn-single-line.rs (100%) rename {rustfmt-core/tests => tests}/target/fn-ty.rs (100%) rename {rustfmt-core/tests => tests}/target/fn.rs (100%) rename {rustfmt-core/tests => tests}/target/fn_args_density-vertical.rs (100%) rename {rustfmt-core/tests => tests}/target/fn_args_indent-block.rs (100%) rename {rustfmt-core/tests => tests}/target/fn_once.rs (100%) rename {rustfmt-core/tests => tests}/target/hard-tabs.rs (100%) rename {rustfmt-core/tests => tests}/target/hello.rs (100%) rename {rustfmt-core/tests => tests}/target/immovable_generators.rs (100%) rename {rustfmt-core/tests => tests}/target/impl.rs (100%) rename {rustfmt-core/tests => tests}/target/impls.rs (100%) rename {rustfmt-core/tests => tests}/target/import-fencepost-length.rs (100%) rename {rustfmt-core/tests => tests}/target/imports-reorder-lines-and-items.rs (100%) rename {rustfmt-core/tests => tests}/target/imports-reorder-lines.rs (100%) rename {rustfmt-core/tests => tests}/target/imports-reorder.rs (100%) rename {rustfmt-core/tests => tests}/target/imports.rs (100%) rename {rustfmt-core/tests => tests}/target/indented-impl.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1021.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1049.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1055.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1111.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1113.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1120.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1124.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1127.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1158.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1177.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1192.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1211.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1214.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1216.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1239.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1247.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1255.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1278.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1350.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1366.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1397.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1468.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1598.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1624.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1681.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1693.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1703.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1800.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1802.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1824.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-1914.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-2025.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-2103.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-2111.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-2123.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-2164.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-2179.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-2197.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-2256.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-2324.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-2329.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-2342.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-2346.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-2401.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-2446.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-2479.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-447.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-510.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-64.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-691.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-770.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-811.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-831.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-850.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-855.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-913.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-945.rs (100%) rename {rustfmt-core/tests => tests}/target/issue-977.rs (100%) rename {rustfmt-core/tests => tests}/target/item-brace-style-always-next-line.rs (100%) rename {rustfmt-core/tests => tests}/target/item-brace-style-prefer-same-line.rs (100%) rename {rustfmt-core/tests => tests}/target/item-brace-style-same-line-where.rs (100%) rename {rustfmt-core/tests => tests}/target/large-block.rs (100%) rename {rustfmt-core/tests => tests}/target/large_vec.rs (100%) rename {rustfmt-core/tests => tests}/target/lazy_static.rs (100%) rename {rustfmt-core/tests => tests}/target/long-fn-1.rs (100%) rename {rustfmt-core/tests => tests}/target/long-match-arms-brace-newline.rs (100%) rename {rustfmt-core/tests => tests}/target/long_field_access.rs (100%) rename {rustfmt-core/tests => tests}/target/loop.rs (100%) rename {rustfmt-core/tests => tests}/target/macro_not_expr.rs (100%) rename {rustfmt-core/tests => tests}/target/macro_rules.rs (100%) rename {rustfmt-core/tests => tests}/target/macros.rs (100%) rename {rustfmt-core/tests => tests}/target/markdown-comment-with-options.rs (100%) rename {rustfmt-core/tests => tests}/target/markdown-comment.rs (100%) rename {rustfmt-core/tests => tests}/target/match-block-trailing-comma.rs (100%) rename {rustfmt-core/tests => tests}/target/match-nowrap-trailing-comma.rs (100%) rename {rustfmt-core/tests => tests}/target/match-nowrap.rs (100%) rename {rustfmt-core/tests => tests}/target/match.rs (100%) rename {rustfmt-core/tests => tests}/target/max-line-length-in-chars.rs (100%) rename {rustfmt-core/tests => tests}/target/mod-1.rs (100%) rename {rustfmt-core/tests => tests}/target/mod-2.rs (100%) rename {rustfmt-core/tests => tests}/target/mod_skip_child.rs (100%) rename {rustfmt-core/tests => tests}/target/mulit-file.rs (100%) rename {rustfmt-core/tests => tests}/target/multiple.rs (100%) rename {rustfmt-core/tests => tests}/target/nested-if-else.rs (100%) rename {rustfmt-core/tests => tests}/target/nested-visual-block.rs (100%) rename {rustfmt-core/tests => tests}/target/nested_skipped/mod.rs (100%) rename {rustfmt-core/tests => tests}/target/nestedmod/mod.rs (100%) rename {rustfmt-core/tests => tests}/target/nestedmod/mod2a.rs (100%) rename {rustfmt-core/tests => tests}/target/nestedmod/mod2b.rs (100%) rename {rustfmt-core/tests => tests}/target/nestedmod/mod2c.rs (100%) rename {rustfmt-core/tests => tests}/target/nestedmod/mymod1/mod3a.rs (100%) rename {rustfmt-core/tests => tests}/target/nestedmod/submod2/a.rs (100%) rename {rustfmt-core/tests => tests}/target/nestedmod/submod2/mod.rs (100%) rename {rustfmt-core/tests => tests}/target/no_new_line_beginning.rs (100%) rename {rustfmt-core/tests => tests}/target/other.rs (100%) rename {rustfmt-core/tests => tests}/target/paths.rs (100%) rename {rustfmt-core/tests => tests}/target/pattern-condense-wildcards.rs (100%) rename {rustfmt-core/tests => tests}/target/pattern.rs (100%) rename {rustfmt-core/tests => tests}/target/pub-restricted.rs (100%) rename {rustfmt-core/tests => tests}/target/remove_blank_lines.rs (100%) rename {rustfmt-core/tests => tests}/target/single-line-if-else.rs (100%) rename {rustfmt-core/tests => tests}/target/skip.rs (100%) rename {rustfmt-core/tests => tests}/target/skip_mod.rs (100%) rename {rustfmt-core/tests => tests}/target/soft-wrapping.rs (100%) rename {rustfmt-core/tests => tests}/target/space-not-before-newline.rs (100%) rename {rustfmt-core/tests => tests}/target/spaces-around-ranges.rs (100%) rename {rustfmt-core/tests => tests}/target/static.rs (100%) rename {rustfmt-core/tests => tests}/target/string-lit-2.rs (100%) rename {rustfmt-core/tests => tests}/target/string-lit-custom.rs (100%) rename {rustfmt-core/tests => tests}/target/string-lit.rs (100%) rename {rustfmt-core/tests => tests}/target/string_punctuation.rs (100%) rename {rustfmt-core/tests => tests}/target/struct-field-attributes.rs (100%) rename {rustfmt-core/tests => tests}/target/struct_lits.rs (100%) rename {rustfmt-core/tests => tests}/target/struct_lits_multiline.rs (100%) rename {rustfmt-core/tests => tests}/target/struct_lits_visual.rs (100%) rename {rustfmt-core/tests => tests}/target/struct_lits_visual_multiline.rs (100%) rename {rustfmt-core/tests => tests}/target/struct_tuple_visual.rs (100%) rename {rustfmt-core/tests => tests}/target/structs.rs (100%) rename {rustfmt-core/tests => tests}/target/trailing-comma-never.rs (100%) rename {rustfmt-core/tests => tests}/target/trailing_commas.rs (100%) rename {rustfmt-core/tests => tests}/target/trait.rs (100%) rename {rustfmt-core/tests => tests}/target/try-conversion.rs (100%) rename {rustfmt-core/tests => tests}/target/tuple.rs (100%) rename {rustfmt-core/tests => tests}/target/type-ascription.rs (100%) rename {rustfmt-core/tests => tests}/target/type.rs (100%) rename {rustfmt-core/tests => tests}/target/type_alias.rs (100%) rename {rustfmt-core/tests => tests}/target/unindent_if_else_cond_comment.rs (100%) rename {rustfmt-core/tests => tests}/target/unions.rs (100%) rename {rustfmt-core/tests => tests}/target/where-clause-rfc.rs (100%) rename {rustfmt-core/tests => tests}/target/where-clause.rs (100%) rename {rustfmt-core/tests => tests}/writemode/source/fn-single-line.rs (100%) rename {rustfmt-core/tests => tests}/writemode/source/modified.rs (100%) rename {rustfmt-core/tests => tests}/writemode/target/checkstyle.xml (100%) rename {rustfmt-core/tests => tests}/writemode/target/modified.txt (100%) diff --git a/cargo-fmt/Cargo.toml b/cargo-fmt/Cargo.toml deleted file mode 100644 index 87142657231..00000000000 --- a/cargo-fmt/Cargo.toml +++ /dev/null @@ -1,17 +0,0 @@ -[package] -name = "cargo-fmt" -version = "0.4.0" -authors = ["Nicholas Cameron ", "The Rustfmt developers"] -description = "Cargo frontend for rustfmt" -repository = "https://github.com/rust-lang-nursery/rustfmt" -readme = "README.md" -license = "Apache-2.0/MIT" -categories = ["development-tools"] - -[[bin]] -name = "cargo-fmt" - -[dependencies] -cargo_metadata = "0.4" -getopts = "0.2" -serde_json = "1.0" diff --git a/git-rustfmt/Cargo.toml b/git-rustfmt/Cargo.toml deleted file mode 100644 index 5bebeff2c84..00000000000 --- a/git-rustfmt/Cargo.toml +++ /dev/null @@ -1,19 +0,0 @@ -[package] -name = "git-rustfmt" -version = "0.4.0" -authors = ["Nicholas Cameron ", "The Rustfmt developers"] -description = "Run rustfmt against git diff" -repository = "https://github.com/rust-lang-nursery/rustfmt" -readme = "README.md" -license = "Apache-2.0/MIT" -categories = ["development-tools"] - -[[bin]] -name = "git-rustfmt" - -[dependencies] -env_logger = "0.5" -getopts = "0.2" -log = "0.3" -rustfmt-config = { path = "../rustfmt-config" } -rustfmt-core = { path = "../rustfmt-core" } \ No newline at end of file diff --git a/rustfmt-bin/Cargo.toml b/rustfmt-bin/Cargo.toml deleted file mode 100644 index c07146dcb01..00000000000 --- a/rustfmt-bin/Cargo.toml +++ /dev/null @@ -1,20 +0,0 @@ -[package] -name = "rustfmt-bin" -version = "0.4.0" -authors = ["Nicholas Cameron ", "The Rustfmt developers"] -description = "Tool to find and fix Rust formatting issues" -repository = "https://github.com/rust-lang-nursery/rustfmt" -readme = "README.md" -license = "Apache-2.0/MIT" -build = "build.rs" -categories = ["development-tools"] - -[[bin]] -name = "rustfmt" -path = "src/main.rs" - -[dependencies] -env_logger = "0.4" -getopts = "0.2" -rustfmt-config = { path = "../rustfmt-config" } -rustfmt-core = { path = "../rustfmt-core" } \ No newline at end of file diff --git a/rustfmt-bin/build.rs b/rustfmt-bin/build.rs deleted file mode 100644 index d72b44eb7f3..00000000000 --- a/rustfmt-bin/build.rs +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2017 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution and at -// http://rust-lang.org/COPYRIGHT. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -use std::env; -use std::fs::File; -use std::io::Write; -use std::path::PathBuf; -use std::process::Command; - -fn main() { - let out_dir = PathBuf::from(env::var_os("OUT_DIR").unwrap()); - - File::create(out_dir.join("commit-info.txt")) - .unwrap() - .write_all(commit_info().as_bytes()) - .unwrap(); -} - -// Try to get hash and date of the last commit on a best effort basis. If anything goes wrong -// (git not installed or if this is not a git repository) just return an empty string. -fn commit_info() -> String { - match (channel(), commit_hash(), commit_date()) { - (channel, Some(hash), Some(date)) => { - format!("{} ({} {})", channel, hash.trim_right(), date) - } - _ => String::new(), - } -} - -fn channel() -> String { - if let Ok(channel) = env::var("CFG_RELEASE_CHANNEL") { - channel - } else { - "nightly".to_owned() - } -} - -fn commit_hash() -> Option { - Command::new("git") - .args(&["rev-parse", "--short", "HEAD"]) - .output() - .ok() - .and_then(|r| String::from_utf8(r.stdout).ok()) -} - -fn commit_date() -> Option { - Command::new("git") - .args(&["log", "-1", "--date=short", "--pretty=format:%cd"]) - .output() - .ok() - .and_then(|r| String::from_utf8(r.stdout).ok()) -} diff --git a/rustfmt-config/Cargo.toml b/rustfmt-config/Cargo.toml deleted file mode 100644 index 7996fca67d7..00000000000 --- a/rustfmt-config/Cargo.toml +++ /dev/null @@ -1,16 +0,0 @@ -[package] -name = "rustfmt-config" -version = "0.4.0" -authors = ["Nicholas Cameron ", "The Rustfmt developers"] -description = "A library for configuring and customizing rustfmt" -repository = "https://github.com/rust-lang-nursery/rustfmt" -readme = "README.md" -license = "Apache-2.0/MIT" -categories = ["development-tools"] - -[dependencies] -rustc-ap-syntax = "29.0.0" -serde = "1.0" -serde_derive = "1.0" -serde_json = "1.0" -toml = "0.4" diff --git a/rustfmt-config/README.md b/rustfmt-config/README.md deleted file mode 100644 index 840b230d115..00000000000 --- a/rustfmt-config/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rustfmt-config - -Configuration for Rustfmt diff --git a/rustfmt-core/Cargo.toml b/rustfmt-core/Cargo.toml deleted file mode 100644 index 2cf72e3f210..00000000000 --- a/rustfmt-core/Cargo.toml +++ /dev/null @@ -1,33 +0,0 @@ -[package] -name = "rustfmt-core" -version = "0.4.0" -authors = ["Nicholas Cameron ", "The Rustfmt developers"] -description = "A core library of rustfmt" -repository = "https://github.com/rust-lang-nursery/rustfmt" -readme = "README.md" -license = "Apache-2.0/MIT" -categories = ["development-tools"] - -[lib] -doctest = false - -[dependencies] -derive-new = "0.5" -diff = "0.1" -log = "0.3" -regex = "0.2" -rustc-ap-syntax = "29.0.0" -rustc-ap-rustc_errors = "29.0.0" -rustfmt-config = { path = "../rustfmt-config" } -term = "0.4" -unicode-segmentation = "1.0.0" - -[dev-dependencies] -lazy_static = "1.0.0" - -[target.'cfg(unix)'.dependencies] -libc = "0.2.11" - -[target.'cfg(windows)'.dependencies] -kernel32-sys = "0.2.2" -winapi = "0.2.7" diff --git a/rustfmt-core/README.md b/rustfmt-core/README.md deleted file mode 100644 index 7421de1fe90..00000000000 --- a/rustfmt-core/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rustfmt-core - -Core formatting functionality for Rustfmt diff --git a/rustfmt-format-diff/Cargo.toml b/rustfmt-format-diff/Cargo.toml deleted file mode 100644 index cdace2c9b37..00000000000 --- a/rustfmt-format-diff/Cargo.toml +++ /dev/null @@ -1,21 +0,0 @@ -[package] -name = "rustfmt-format-diff" -version = "0.4.0" -authors = ["Nicholas Cameron ", "The Rustfmt developers"] -description = "Run rustfmt against diff" -repository = "https://github.com/rust-lang-nursery/rustfmt" -readme = "README.md" -license = "Apache-2.0/MIT" -categories = ["development-tools"] - -[[bin]] -name = "rustfmt-format-diff" - -[dependencies] -env_logger = "0.5" -getopts = "0.2" -log = "0.3" -regex = "0.2" -serde = "1.0" -serde_derive = "1.0" -serde_json = "1.0" diff --git a/src/lib.rs b/src/lib.rs index 7ef4931fbe3..a3302a86a0f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. - #![feature(custom_attribute)] #![feature(decl_macro)] #![feature(match_default_bindings)] diff --git a/rustfmt-core/tests/config/disable_all_formatting.toml b/tests/config/disable_all_formatting.toml similarity index 100% rename from rustfmt-core/tests/config/disable_all_formatting.toml rename to tests/config/disable_all_formatting.toml diff --git a/rustfmt-core/tests/config/issue-1111.toml b/tests/config/issue-1111.toml similarity index 100% rename from rustfmt-core/tests/config/issue-1111.toml rename to tests/config/issue-1111.toml diff --git a/rustfmt-core/tests/config/small_tabs.toml b/tests/config/small_tabs.toml similarity index 100% rename from rustfmt-core/tests/config/small_tabs.toml rename to tests/config/small_tabs.toml diff --git a/rustfmt-core/tests/coverage/source/comments.rs b/tests/coverage/source/comments.rs similarity index 100% rename from rustfmt-core/tests/coverage/source/comments.rs rename to tests/coverage/source/comments.rs diff --git a/rustfmt-core/tests/coverage/target/comments.rs b/tests/coverage/target/comments.rs similarity index 100% rename from rustfmt-core/tests/coverage/target/comments.rs rename to tests/coverage/target/comments.rs diff --git a/rustfmt-core/tests/lib.rs b/tests/lib.rs similarity index 97% rename from rustfmt-core/tests/lib.rs rename to tests/lib.rs index aab37b91d55..9abe08ba9e0 100644 --- a/rustfmt-core/tests/lib.rs +++ b/tests/lib.rs @@ -13,8 +13,7 @@ extern crate lazy_static; #[macro_use] extern crate log; extern crate regex; -extern crate rustfmt_config as config; -extern crate rustfmt_core as rustfmt; +extern crate rustfmt_nightly as rustfmt; extern crate term; use std::collections::{HashMap, HashSet}; @@ -25,8 +24,8 @@ use std::path::{Path, PathBuf}; use std::str::Chars; use rustfmt::*; -use config::{Color, Config, ReportTactic}; -use config::summary::Summary; +use rustfmt::config::{Color, Config, ReportTactic}; +use rustfmt::config::summary::Summary; use rustfmt::filemap::write_system_newlines; use rustfmt::rustfmt_diff::*; @@ -211,25 +210,14 @@ fn idempotence_tests() { #[test] fn self_tests() { let mut files = get_test_files(Path::new("tests"), false); - let bin_directories = vec![ - "cargo-fmt", - "git-rustfmt", - "rustfmt-bin", - "rustfmt-format-diff", - ]; + let bin_directories = vec!["cargo-fmt", "git-rustfmt", "bin", "format-diff"]; for dir in bin_directories { - let mut path = PathBuf::from(".."); + let mut path = PathBuf::from("src"); path.push(dir); - path.push("src/main.rs"); - files.push(path); - } - let lib_directories = vec!["rustfmt-core", "rustfmt-config"]; - for dir in lib_directories { - let mut path = PathBuf::from(".."); - path.push(dir); - path.push("src/lib.rs"); + path.push("main.rs"); files.push(path); } + files.push(PathBuf::from("src/lib.rs")); let (reports, count, fails) = check_files(files); let mut warnings = 0; @@ -838,7 +826,7 @@ fn configuration_snippet_tests() { // entry for each Rust code block found. fn get_code_blocks() -> Vec { let mut file_iter = BufReader::new( - fs::File::open(Path::new("..").join(CONFIGURATIONS_FILE_NAME)) + fs::File::open(Path::new(CONFIGURATIONS_FILE_NAME)) .expect(&format!("Couldn't read file {}", CONFIGURATIONS_FILE_NAME)), ).lines() .map(|l| l.unwrap()) diff --git a/rustfmt-core/tests/source/assignment.rs b/tests/source/assignment.rs similarity index 100% rename from rustfmt-core/tests/source/assignment.rs rename to tests/source/assignment.rs diff --git a/rustfmt-core/tests/source/associated-types-bounds-wrapping.rs b/tests/source/associated-types-bounds-wrapping.rs similarity index 100% rename from rustfmt-core/tests/source/associated-types-bounds-wrapping.rs rename to tests/source/associated-types-bounds-wrapping.rs diff --git a/rustfmt-core/tests/source/attrib.rs b/tests/source/attrib.rs similarity index 100% rename from rustfmt-core/tests/source/attrib.rs rename to tests/source/attrib.rs diff --git a/rustfmt-core/tests/source/big-impl-block.rs b/tests/source/big-impl-block.rs similarity index 100% rename from rustfmt-core/tests/source/big-impl-block.rs rename to tests/source/big-impl-block.rs diff --git a/rustfmt-core/tests/source/big-impl-visual.rs b/tests/source/big-impl-visual.rs similarity index 100% rename from rustfmt-core/tests/source/big-impl-visual.rs rename to tests/source/big-impl-visual.rs diff --git a/rustfmt-core/tests/source/break-and-continue.rs b/tests/source/break-and-continue.rs similarity index 100% rename from rustfmt-core/tests/source/break-and-continue.rs rename to tests/source/break-and-continue.rs diff --git a/rustfmt-core/tests/source/catch.rs b/tests/source/catch.rs similarity index 100% rename from rustfmt-core/tests/source/catch.rs rename to tests/source/catch.rs diff --git a/rustfmt-core/tests/source/chains-visual.rs b/tests/source/chains-visual.rs similarity index 100% rename from rustfmt-core/tests/source/chains-visual.rs rename to tests/source/chains-visual.rs diff --git a/rustfmt-core/tests/source/chains.rs b/tests/source/chains.rs similarity index 100% rename from rustfmt-core/tests/source/chains.rs rename to tests/source/chains.rs diff --git a/rustfmt-core/tests/source/closure-block-inside-macro.rs b/tests/source/closure-block-inside-macro.rs similarity index 100% rename from rustfmt-core/tests/source/closure-block-inside-macro.rs rename to tests/source/closure-block-inside-macro.rs diff --git a/rustfmt-core/tests/source/closure.rs b/tests/source/closure.rs similarity index 100% rename from rustfmt-core/tests/source/closure.rs rename to tests/source/closure.rs diff --git a/rustfmt-core/tests/source/comment.rs b/tests/source/comment.rs similarity index 100% rename from rustfmt-core/tests/source/comment.rs rename to tests/source/comment.rs diff --git a/rustfmt-core/tests/source/comment2.rs b/tests/source/comment2.rs similarity index 100% rename from rustfmt-core/tests/source/comment2.rs rename to tests/source/comment2.rs diff --git a/rustfmt-core/tests/source/comment3.rs b/tests/source/comment3.rs similarity index 100% rename from rustfmt-core/tests/source/comment3.rs rename to tests/source/comment3.rs diff --git a/rustfmt-core/tests/source/comment4.rs b/tests/source/comment4.rs similarity index 100% rename from rustfmt-core/tests/source/comment4.rs rename to tests/source/comment4.rs diff --git a/rustfmt-core/tests/source/comment5.rs b/tests/source/comment5.rs similarity index 100% rename from rustfmt-core/tests/source/comment5.rs rename to tests/source/comment5.rs diff --git a/rustfmt-core/tests/source/comment_crlf_newline.rs b/tests/source/comment_crlf_newline.rs similarity index 100% rename from rustfmt-core/tests/source/comment_crlf_newline.rs rename to tests/source/comment_crlf_newline.rs diff --git a/rustfmt-core/tests/source/configs/blank_lines_lower_bound/1.rs b/tests/source/configs/blank_lines_lower_bound/1.rs similarity index 100% rename from rustfmt-core/tests/source/configs/blank_lines_lower_bound/1.rs rename to tests/source/configs/blank_lines_lower_bound/1.rs diff --git a/rustfmt-core/tests/source/configs/brace_style/fn_always_next_line.rs b/tests/source/configs/brace_style/fn_always_next_line.rs similarity index 100% rename from rustfmt-core/tests/source/configs/brace_style/fn_always_next_line.rs rename to tests/source/configs/brace_style/fn_always_next_line.rs diff --git a/rustfmt-core/tests/source/configs/brace_style/fn_prefer_same_line.rs b/tests/source/configs/brace_style/fn_prefer_same_line.rs similarity index 100% rename from rustfmt-core/tests/source/configs/brace_style/fn_prefer_same_line.rs rename to tests/source/configs/brace_style/fn_prefer_same_line.rs diff --git a/rustfmt-core/tests/source/configs/brace_style/fn_same_line_where.rs b/tests/source/configs/brace_style/fn_same_line_where.rs similarity index 100% rename from rustfmt-core/tests/source/configs/brace_style/fn_same_line_where.rs rename to tests/source/configs/brace_style/fn_same_line_where.rs diff --git a/rustfmt-core/tests/source/configs/brace_style/item_always_next_line.rs b/tests/source/configs/brace_style/item_always_next_line.rs similarity index 100% rename from rustfmt-core/tests/source/configs/brace_style/item_always_next_line.rs rename to tests/source/configs/brace_style/item_always_next_line.rs diff --git a/rustfmt-core/tests/source/configs/brace_style/item_prefer_same_line.rs b/tests/source/configs/brace_style/item_prefer_same_line.rs similarity index 100% rename from rustfmt-core/tests/source/configs/brace_style/item_prefer_same_line.rs rename to tests/source/configs/brace_style/item_prefer_same_line.rs diff --git a/rustfmt-core/tests/source/configs/brace_style/item_same_line_where.rs b/tests/source/configs/brace_style/item_same_line_where.rs similarity index 100% rename from rustfmt-core/tests/source/configs/brace_style/item_same_line_where.rs rename to tests/source/configs/brace_style/item_same_line_where.rs diff --git a/rustfmt-core/tests/source/configs/comment_width/above.rs b/tests/source/configs/comment_width/above.rs similarity index 100% rename from rustfmt-core/tests/source/configs/comment_width/above.rs rename to tests/source/configs/comment_width/above.rs diff --git a/rustfmt-core/tests/source/configs/comment_width/below.rs b/tests/source/configs/comment_width/below.rs similarity index 100% rename from rustfmt-core/tests/source/configs/comment_width/below.rs rename to tests/source/configs/comment_width/below.rs diff --git a/rustfmt-core/tests/source/configs/comment_width/ignore.rs b/tests/source/configs/comment_width/ignore.rs similarity index 100% rename from rustfmt-core/tests/source/configs/comment_width/ignore.rs rename to tests/source/configs/comment_width/ignore.rs diff --git a/rustfmt-core/tests/source/configs/condense_wildcard_suffixes/false.rs b/tests/source/configs/condense_wildcard_suffixes/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/condense_wildcard_suffixes/false.rs rename to tests/source/configs/condense_wildcard_suffixes/false.rs diff --git a/rustfmt-core/tests/source/configs/condense_wildcard_suffixes/true.rs b/tests/source/configs/condense_wildcard_suffixes/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/condense_wildcard_suffixes/true.rs rename to tests/source/configs/condense_wildcard_suffixes/true.rs diff --git a/rustfmt-core/tests/source/configs/control_brace_style/always_next_line.rs b/tests/source/configs/control_brace_style/always_next_line.rs similarity index 100% rename from rustfmt-core/tests/source/configs/control_brace_style/always_next_line.rs rename to tests/source/configs/control_brace_style/always_next_line.rs diff --git a/rustfmt-core/tests/source/configs/control_brace_style/always_same_line.rs b/tests/source/configs/control_brace_style/always_same_line.rs similarity index 100% rename from rustfmt-core/tests/source/configs/control_brace_style/always_same_line.rs rename to tests/source/configs/control_brace_style/always_same_line.rs diff --git a/rustfmt-core/tests/source/configs/control_brace_style/closing_next_line.rs b/tests/source/configs/control_brace_style/closing_next_line.rs similarity index 100% rename from rustfmt-core/tests/source/configs/control_brace_style/closing_next_line.rs rename to tests/source/configs/control_brace_style/closing_next_line.rs diff --git a/rustfmt-core/tests/source/configs/disable_all_formatting/false.rs b/tests/source/configs/disable_all_formatting/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/disable_all_formatting/false.rs rename to tests/source/configs/disable_all_formatting/false.rs diff --git a/rustfmt-core/tests/source/configs/disable_all_formatting/true.rs b/tests/source/configs/disable_all_formatting/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/disable_all_formatting/true.rs rename to tests/source/configs/disable_all_formatting/true.rs diff --git a/rustfmt-core/tests/source/configs/empty_item_single_line/false.rs b/tests/source/configs/empty_item_single_line/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/empty_item_single_line/false.rs rename to tests/source/configs/empty_item_single_line/false.rs diff --git a/rustfmt-core/tests/source/configs/empty_item_single_line/true.rs b/tests/source/configs/empty_item_single_line/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/empty_item_single_line/true.rs rename to tests/source/configs/empty_item_single_line/true.rs diff --git a/rustfmt-core/tests/source/configs/error_on_line_overflow/false.rs b/tests/source/configs/error_on_line_overflow/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/error_on_line_overflow/false.rs rename to tests/source/configs/error_on_line_overflow/false.rs diff --git a/rustfmt-core/tests/source/configs/fn_args_density/compressed.rs b/tests/source/configs/fn_args_density/compressed.rs similarity index 100% rename from rustfmt-core/tests/source/configs/fn_args_density/compressed.rs rename to tests/source/configs/fn_args_density/compressed.rs diff --git a/rustfmt-core/tests/source/configs/fn_args_density/tall.rs b/tests/source/configs/fn_args_density/tall.rs similarity index 100% rename from rustfmt-core/tests/source/configs/fn_args_density/tall.rs rename to tests/source/configs/fn_args_density/tall.rs diff --git a/rustfmt-core/tests/source/configs/fn_args_density/vertical.rs b/tests/source/configs/fn_args_density/vertical.rs similarity index 100% rename from rustfmt-core/tests/source/configs/fn_args_density/vertical.rs rename to tests/source/configs/fn_args_density/vertical.rs diff --git a/rustfmt-core/tests/source/configs/fn_single_line/false.rs b/tests/source/configs/fn_single_line/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/fn_single_line/false.rs rename to tests/source/configs/fn_single_line/false.rs diff --git a/rustfmt-core/tests/source/configs/fn_single_line/true.rs b/tests/source/configs/fn_single_line/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/fn_single_line/true.rs rename to tests/source/configs/fn_single_line/true.rs diff --git a/rustfmt-core/tests/source/configs/force_explicit_abi/false.rs b/tests/source/configs/force_explicit_abi/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/force_explicit_abi/false.rs rename to tests/source/configs/force_explicit_abi/false.rs diff --git a/rustfmt-core/tests/source/configs/force_explicit_abi/true.rs b/tests/source/configs/force_explicit_abi/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/force_explicit_abi/true.rs rename to tests/source/configs/force_explicit_abi/true.rs diff --git a/rustfmt-core/tests/source/configs/force_multiline_block/false.rs b/tests/source/configs/force_multiline_block/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/force_multiline_block/false.rs rename to tests/source/configs/force_multiline_block/false.rs diff --git a/rustfmt-core/tests/source/configs/force_multiline_block/true.rs b/tests/source/configs/force_multiline_block/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/force_multiline_block/true.rs rename to tests/source/configs/force_multiline_block/true.rs diff --git a/rustfmt-core/tests/source/configs/format_strings/false.rs b/tests/source/configs/format_strings/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/format_strings/false.rs rename to tests/source/configs/format_strings/false.rs diff --git a/rustfmt-core/tests/source/configs/format_strings/true.rs b/tests/source/configs/format_strings/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/format_strings/true.rs rename to tests/source/configs/format_strings/true.rs diff --git a/rustfmt-core/tests/source/configs/hard_tabs/false.rs b/tests/source/configs/hard_tabs/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/hard_tabs/false.rs rename to tests/source/configs/hard_tabs/false.rs diff --git a/rustfmt-core/tests/source/configs/hard_tabs/true.rs b/tests/source/configs/hard_tabs/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/hard_tabs/true.rs rename to tests/source/configs/hard_tabs/true.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/block_args.rs b/tests/source/configs/indent_style/block_args.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/block_args.rs rename to tests/source/configs/indent_style/block_args.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/block_array.rs b/tests/source/configs/indent_style/block_array.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/block_array.rs rename to tests/source/configs/indent_style/block_array.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/block_call.rs b/tests/source/configs/indent_style/block_call.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/block_call.rs rename to tests/source/configs/indent_style/block_call.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/block_chain.rs b/tests/source/configs/indent_style/block_chain.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/block_chain.rs rename to tests/source/configs/indent_style/block_chain.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/block_generic.rs b/tests/source/configs/indent_style/block_generic.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/block_generic.rs rename to tests/source/configs/indent_style/block_generic.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/block_struct_lit.rs b/tests/source/configs/indent_style/block_struct_lit.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/block_struct_lit.rs rename to tests/source/configs/indent_style/block_struct_lit.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/block_trailing_comma_call.rs b/tests/source/configs/indent_style/block_trailing_comma_call.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/block_trailing_comma_call.rs rename to tests/source/configs/indent_style/block_trailing_comma_call.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/block_where_pred.rs b/tests/source/configs/indent_style/block_where_pred.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/block_where_pred.rs rename to tests/source/configs/indent_style/block_where_pred.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/default.rs b/tests/source/configs/indent_style/default.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/default.rs rename to tests/source/configs/indent_style/default.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/rfc_where.rs b/tests/source/configs/indent_style/rfc_where.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/rfc_where.rs rename to tests/source/configs/indent_style/rfc_where.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/visual_args.rs b/tests/source/configs/indent_style/visual_args.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/visual_args.rs rename to tests/source/configs/indent_style/visual_args.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/visual_array.rs b/tests/source/configs/indent_style/visual_array.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/visual_array.rs rename to tests/source/configs/indent_style/visual_array.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/visual_call.rs b/tests/source/configs/indent_style/visual_call.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/visual_call.rs rename to tests/source/configs/indent_style/visual_call.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/visual_chain.rs b/tests/source/configs/indent_style/visual_chain.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/visual_chain.rs rename to tests/source/configs/indent_style/visual_chain.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/visual_generics.rs b/tests/source/configs/indent_style/visual_generics.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/visual_generics.rs rename to tests/source/configs/indent_style/visual_generics.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/visual_struct_lit.rs b/tests/source/configs/indent_style/visual_struct_lit.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/visual_struct_lit.rs rename to tests/source/configs/indent_style/visual_struct_lit.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/visual_trailing_comma.rs b/tests/source/configs/indent_style/visual_trailing_comma.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/visual_trailing_comma.rs rename to tests/source/configs/indent_style/visual_trailing_comma.rs diff --git a/rustfmt-core/tests/source/configs/indent_style/visual_where_pred.rs b/tests/source/configs/indent_style/visual_where_pred.rs similarity index 100% rename from rustfmt-core/tests/source/configs/indent_style/visual_where_pred.rs rename to tests/source/configs/indent_style/visual_where_pred.rs diff --git a/rustfmt-core/tests/source/configs/match_arm_blocks/false.rs b/tests/source/configs/match_arm_blocks/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/match_arm_blocks/false.rs rename to tests/source/configs/match_arm_blocks/false.rs diff --git a/rustfmt-core/tests/source/configs/match_arm_blocks/true.rs b/tests/source/configs/match_arm_blocks/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/match_arm_blocks/true.rs rename to tests/source/configs/match_arm_blocks/true.rs diff --git a/rustfmt-core/tests/source/configs/match_block_trailing_comma/false.rs b/tests/source/configs/match_block_trailing_comma/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/match_block_trailing_comma/false.rs rename to tests/source/configs/match_block_trailing_comma/false.rs diff --git a/rustfmt-core/tests/source/configs/match_block_trailing_comma/true.rs b/tests/source/configs/match_block_trailing_comma/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/match_block_trailing_comma/true.rs rename to tests/source/configs/match_block_trailing_comma/true.rs diff --git a/rustfmt-core/tests/source/configs/merge_derives/true.rs b/tests/source/configs/merge_derives/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/merge_derives/true.rs rename to tests/source/configs/merge_derives/true.rs diff --git a/rustfmt-core/tests/source/configs/normalize_comments/false.rs b/tests/source/configs/normalize_comments/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/normalize_comments/false.rs rename to tests/source/configs/normalize_comments/false.rs diff --git a/rustfmt-core/tests/source/configs/normalize_comments/true.rs b/tests/source/configs/normalize_comments/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/normalize_comments/true.rs rename to tests/source/configs/normalize_comments/true.rs diff --git a/rustfmt-core/tests/source/configs/reorder_extern_crates/false.rs b/tests/source/configs/reorder_extern_crates/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/reorder_extern_crates/false.rs rename to tests/source/configs/reorder_extern_crates/false.rs diff --git a/rustfmt-core/tests/source/configs/reorder_extern_crates/true.rs b/tests/source/configs/reorder_extern_crates/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/reorder_extern_crates/true.rs rename to tests/source/configs/reorder_extern_crates/true.rs diff --git a/rustfmt-core/tests/source/configs/reorder_imported_names/false.rs b/tests/source/configs/reorder_imported_names/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/reorder_imported_names/false.rs rename to tests/source/configs/reorder_imported_names/false.rs diff --git a/rustfmt-core/tests/source/configs/reorder_imported_names/true.rs b/tests/source/configs/reorder_imported_names/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/reorder_imported_names/true.rs rename to tests/source/configs/reorder_imported_names/true.rs diff --git a/rustfmt-core/tests/source/configs/reorder_imports/false.rs b/tests/source/configs/reorder_imports/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/reorder_imports/false.rs rename to tests/source/configs/reorder_imports/false.rs diff --git a/rustfmt-core/tests/source/configs/reorder_imports/true.rs b/tests/source/configs/reorder_imports/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/reorder_imports/true.rs rename to tests/source/configs/reorder_imports/true.rs diff --git a/rustfmt-core/tests/source/configs/reorder_imports_in_group/false.rs b/tests/source/configs/reorder_imports_in_group/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/reorder_imports_in_group/false.rs rename to tests/source/configs/reorder_imports_in_group/false.rs diff --git a/rustfmt-core/tests/source/configs/reorder_imports_in_group/true.rs b/tests/source/configs/reorder_imports_in_group/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/reorder_imports_in_group/true.rs rename to tests/source/configs/reorder_imports_in_group/true.rs diff --git a/rustfmt-core/tests/source/configs/reorder_modules/dolor/mod.rs b/tests/source/configs/reorder_modules/dolor/mod.rs similarity index 100% rename from rustfmt-core/tests/source/configs/reorder_modules/dolor/mod.rs rename to tests/source/configs/reorder_modules/dolor/mod.rs diff --git a/rustfmt-core/tests/source/configs/reorder_modules/false.rs b/tests/source/configs/reorder_modules/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/reorder_modules/false.rs rename to tests/source/configs/reorder_modules/false.rs diff --git a/rustfmt-core/tests/source/configs/reorder_modules/ipsum/mod.rs b/tests/source/configs/reorder_modules/ipsum/mod.rs similarity index 100% rename from rustfmt-core/tests/source/configs/reorder_modules/ipsum/mod.rs rename to tests/source/configs/reorder_modules/ipsum/mod.rs diff --git a/rustfmt-core/tests/source/configs/reorder_modules/lorem/mod.rs b/tests/source/configs/reorder_modules/lorem/mod.rs similarity index 100% rename from rustfmt-core/tests/source/configs/reorder_modules/lorem/mod.rs rename to tests/source/configs/reorder_modules/lorem/mod.rs diff --git a/rustfmt-core/tests/source/configs/reorder_modules/sit/mod.rs b/tests/source/configs/reorder_modules/sit/mod.rs similarity index 100% rename from rustfmt-core/tests/source/configs/reorder_modules/sit/mod.rs rename to tests/source/configs/reorder_modules/sit/mod.rs diff --git a/rustfmt-core/tests/source/configs/reorder_modules/true.rs b/tests/source/configs/reorder_modules/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/reorder_modules/true.rs rename to tests/source/configs/reorder_modules/true.rs diff --git a/rustfmt-core/tests/source/configs/skip_children/true.rs b/tests/source/configs/skip_children/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/skip_children/true.rs rename to tests/source/configs/skip_children/true.rs diff --git a/rustfmt-core/tests/source/configs/space_before_colon/true.rs b/tests/source/configs/space_before_colon/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/space_before_colon/true.rs rename to tests/source/configs/space_before_colon/true.rs diff --git a/rustfmt-core/tests/source/configs/spaces_around_ranges/false.rs b/tests/source/configs/spaces_around_ranges/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/spaces_around_ranges/false.rs rename to tests/source/configs/spaces_around_ranges/false.rs diff --git a/rustfmt-core/tests/source/configs/spaces_around_ranges/true.rs b/tests/source/configs/spaces_around_ranges/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/spaces_around_ranges/true.rs rename to tests/source/configs/spaces_around_ranges/true.rs diff --git a/rustfmt-core/tests/source/configs/spaces_within_parens_and_brackets/false.rs b/tests/source/configs/spaces_within_parens_and_brackets/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/spaces_within_parens_and_brackets/false.rs rename to tests/source/configs/spaces_within_parens_and_brackets/false.rs diff --git a/rustfmt-core/tests/source/configs/spaces_within_parens_and_brackets/true.rs b/tests/source/configs/spaces_within_parens_and_brackets/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/spaces_within_parens_and_brackets/true.rs rename to tests/source/configs/spaces_within_parens_and_brackets/true.rs diff --git a/rustfmt-core/tests/source/configs/struct_field_align_threshold/20.rs b/tests/source/configs/struct_field_align_threshold/20.rs similarity index 100% rename from rustfmt-core/tests/source/configs/struct_field_align_threshold/20.rs rename to tests/source/configs/struct_field_align_threshold/20.rs diff --git a/rustfmt-core/tests/source/configs/struct_lit_single_line/false.rs b/tests/source/configs/struct_lit_single_line/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/struct_lit_single_line/false.rs rename to tests/source/configs/struct_lit_single_line/false.rs diff --git a/rustfmt-core/tests/source/configs/tab_spaces/2.rs b/tests/source/configs/tab_spaces/2.rs similarity index 100% rename from rustfmt-core/tests/source/configs/tab_spaces/2.rs rename to tests/source/configs/tab_spaces/2.rs diff --git a/rustfmt-core/tests/source/configs/tab_spaces/4.rs b/tests/source/configs/tab_spaces/4.rs similarity index 100% rename from rustfmt-core/tests/source/configs/tab_spaces/4.rs rename to tests/source/configs/tab_spaces/4.rs diff --git a/rustfmt-core/tests/source/configs/trailing_comma/always.rs b/tests/source/configs/trailing_comma/always.rs similarity index 100% rename from rustfmt-core/tests/source/configs/trailing_comma/always.rs rename to tests/source/configs/trailing_comma/always.rs diff --git a/rustfmt-core/tests/source/configs/trailing_comma/never.rs b/tests/source/configs/trailing_comma/never.rs similarity index 100% rename from rustfmt-core/tests/source/configs/trailing_comma/never.rs rename to tests/source/configs/trailing_comma/never.rs diff --git a/rustfmt-core/tests/source/configs/trailing_comma/vertical.rs b/tests/source/configs/trailing_comma/vertical.rs similarity index 100% rename from rustfmt-core/tests/source/configs/trailing_comma/vertical.rs rename to tests/source/configs/trailing_comma/vertical.rs diff --git a/rustfmt-core/tests/source/configs/type_punctuation_density/compressed.rs b/tests/source/configs/type_punctuation_density/compressed.rs similarity index 100% rename from rustfmt-core/tests/source/configs/type_punctuation_density/compressed.rs rename to tests/source/configs/type_punctuation_density/compressed.rs diff --git a/rustfmt-core/tests/source/configs/type_punctuation_density/wide.rs b/tests/source/configs/type_punctuation_density/wide.rs similarity index 100% rename from rustfmt-core/tests/source/configs/type_punctuation_density/wide.rs rename to tests/source/configs/type_punctuation_density/wide.rs diff --git a/rustfmt-core/tests/source/configs/use_field_init_shorthand/false.rs b/tests/source/configs/use_field_init_shorthand/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/use_field_init_shorthand/false.rs rename to tests/source/configs/use_field_init_shorthand/false.rs diff --git a/rustfmt-core/tests/source/configs/use_field_init_shorthand/true.rs b/tests/source/configs/use_field_init_shorthand/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/use_field_init_shorthand/true.rs rename to tests/source/configs/use_field_init_shorthand/true.rs diff --git a/rustfmt-core/tests/source/configs/use_try_shorthand/false.rs b/tests/source/configs/use_try_shorthand/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/use_try_shorthand/false.rs rename to tests/source/configs/use_try_shorthand/false.rs diff --git a/rustfmt-core/tests/source/configs/use_try_shorthand/true.rs b/tests/source/configs/use_try_shorthand/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/use_try_shorthand/true.rs rename to tests/source/configs/use_try_shorthand/true.rs diff --git a/rustfmt-core/tests/source/configs/where_single_line/true.rs b/tests/source/configs/where_single_line/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/where_single_line/true.rs rename to tests/source/configs/where_single_line/true.rs diff --git a/rustfmt-core/tests/source/configs/wrap_comments/false.rs b/tests/source/configs/wrap_comments/false.rs similarity index 100% rename from rustfmt-core/tests/source/configs/wrap_comments/false.rs rename to tests/source/configs/wrap_comments/false.rs diff --git a/rustfmt-core/tests/source/configs/wrap_comments/true.rs b/tests/source/configs/wrap_comments/true.rs similarity index 100% rename from rustfmt-core/tests/source/configs/wrap_comments/true.rs rename to tests/source/configs/wrap_comments/true.rs diff --git a/rustfmt-core/tests/source/control-brace-style-always-next-line.rs b/tests/source/control-brace-style-always-next-line.rs similarity index 100% rename from rustfmt-core/tests/source/control-brace-style-always-next-line.rs rename to tests/source/control-brace-style-always-next-line.rs diff --git a/rustfmt-core/tests/source/control-brace-style-always-same-line.rs b/tests/source/control-brace-style-always-same-line.rs similarity index 100% rename from rustfmt-core/tests/source/control-brace-style-always-same-line.rs rename to tests/source/control-brace-style-always-same-line.rs diff --git a/rustfmt-core/tests/source/doc.rs b/tests/source/doc.rs similarity index 100% rename from rustfmt-core/tests/source/doc.rs rename to tests/source/doc.rs diff --git a/rustfmt-core/tests/source/else-if-brace-style-always-next-line.rs b/tests/source/else-if-brace-style-always-next-line.rs similarity index 100% rename from rustfmt-core/tests/source/else-if-brace-style-always-next-line.rs rename to tests/source/else-if-brace-style-always-next-line.rs diff --git a/rustfmt-core/tests/source/else-if-brace-style-always-same-line.rs b/tests/source/else-if-brace-style-always-same-line.rs similarity index 100% rename from rustfmt-core/tests/source/else-if-brace-style-always-same-line.rs rename to tests/source/else-if-brace-style-always-same-line.rs diff --git a/rustfmt-core/tests/source/else-if-brace-style-closing-next-line.rs b/tests/source/else-if-brace-style-closing-next-line.rs similarity index 100% rename from rustfmt-core/tests/source/else-if-brace-style-closing-next-line.rs rename to tests/source/else-if-brace-style-closing-next-line.rs diff --git a/rustfmt-core/tests/source/empty_file.rs b/tests/source/empty_file.rs similarity index 100% rename from rustfmt-core/tests/source/empty_file.rs rename to tests/source/empty_file.rs diff --git a/rustfmt-core/tests/source/enum.rs b/tests/source/enum.rs similarity index 100% rename from rustfmt-core/tests/source/enum.rs rename to tests/source/enum.rs diff --git a/rustfmt-core/tests/source/expr-block.rs b/tests/source/expr-block.rs similarity index 100% rename from rustfmt-core/tests/source/expr-block.rs rename to tests/source/expr-block.rs diff --git a/rustfmt-core/tests/source/expr.rs b/tests/source/expr.rs similarity index 100% rename from rustfmt-core/tests/source/expr.rs rename to tests/source/expr.rs diff --git a/rustfmt-core/tests/source/extern.rs b/tests/source/extern.rs similarity index 100% rename from rustfmt-core/tests/source/extern.rs rename to tests/source/extern.rs diff --git a/rustfmt-core/tests/source/extern_not_explicit.rs b/tests/source/extern_not_explicit.rs similarity index 100% rename from rustfmt-core/tests/source/extern_not_explicit.rs rename to tests/source/extern_not_explicit.rs diff --git a/rustfmt-core/tests/source/file-lines-1.rs b/tests/source/file-lines-1.rs similarity index 100% rename from rustfmt-core/tests/source/file-lines-1.rs rename to tests/source/file-lines-1.rs diff --git a/rustfmt-core/tests/source/file-lines-2.rs b/tests/source/file-lines-2.rs similarity index 100% rename from rustfmt-core/tests/source/file-lines-2.rs rename to tests/source/file-lines-2.rs diff --git a/rustfmt-core/tests/source/file-lines-3.rs b/tests/source/file-lines-3.rs similarity index 100% rename from rustfmt-core/tests/source/file-lines-3.rs rename to tests/source/file-lines-3.rs diff --git a/rustfmt-core/tests/source/file-lines-4.rs b/tests/source/file-lines-4.rs similarity index 100% rename from rustfmt-core/tests/source/file-lines-4.rs rename to tests/source/file-lines-4.rs diff --git a/rustfmt-core/tests/source/file-lines-5.rs b/tests/source/file-lines-5.rs similarity index 100% rename from rustfmt-core/tests/source/file-lines-5.rs rename to tests/source/file-lines-5.rs diff --git a/rustfmt-core/tests/source/file-lines-6.rs b/tests/source/file-lines-6.rs similarity index 100% rename from rustfmt-core/tests/source/file-lines-6.rs rename to tests/source/file-lines-6.rs diff --git a/rustfmt-core/tests/source/file-lines-item.rs b/tests/source/file-lines-item.rs similarity index 100% rename from rustfmt-core/tests/source/file-lines-item.rs rename to tests/source/file-lines-item.rs diff --git a/rustfmt-core/tests/source/fn-custom-2.rs b/tests/source/fn-custom-2.rs similarity index 100% rename from rustfmt-core/tests/source/fn-custom-2.rs rename to tests/source/fn-custom-2.rs diff --git a/rustfmt-core/tests/source/fn-custom-3.rs b/tests/source/fn-custom-3.rs similarity index 100% rename from rustfmt-core/tests/source/fn-custom-3.rs rename to tests/source/fn-custom-3.rs diff --git a/rustfmt-core/tests/source/fn-custom-4.rs b/tests/source/fn-custom-4.rs similarity index 100% rename from rustfmt-core/tests/source/fn-custom-4.rs rename to tests/source/fn-custom-4.rs diff --git a/rustfmt-core/tests/source/fn-custom-6.rs b/tests/source/fn-custom-6.rs similarity index 100% rename from rustfmt-core/tests/source/fn-custom-6.rs rename to tests/source/fn-custom-6.rs diff --git a/rustfmt-core/tests/source/fn-custom-7.rs b/tests/source/fn-custom-7.rs similarity index 100% rename from rustfmt-core/tests/source/fn-custom-7.rs rename to tests/source/fn-custom-7.rs diff --git a/rustfmt-core/tests/source/fn-custom-8.rs b/tests/source/fn-custom-8.rs similarity index 100% rename from rustfmt-core/tests/source/fn-custom-8.rs rename to tests/source/fn-custom-8.rs diff --git a/rustfmt-core/tests/source/fn-custom.rs b/tests/source/fn-custom.rs similarity index 100% rename from rustfmt-core/tests/source/fn-custom.rs rename to tests/source/fn-custom.rs diff --git a/rustfmt-core/tests/source/fn-simple.rs b/tests/source/fn-simple.rs similarity index 100% rename from rustfmt-core/tests/source/fn-simple.rs rename to tests/source/fn-simple.rs diff --git a/rustfmt-core/tests/source/fn-single-line.rs b/tests/source/fn-single-line.rs similarity index 100% rename from rustfmt-core/tests/source/fn-single-line.rs rename to tests/source/fn-single-line.rs diff --git a/rustfmt-core/tests/source/fn_args_density-vertical.rs b/tests/source/fn_args_density-vertical.rs similarity index 100% rename from rustfmt-core/tests/source/fn_args_density-vertical.rs rename to tests/source/fn_args_density-vertical.rs diff --git a/rustfmt-core/tests/source/fn_args_indent-block.rs b/tests/source/fn_args_indent-block.rs similarity index 100% rename from rustfmt-core/tests/source/fn_args_indent-block.rs rename to tests/source/fn_args_indent-block.rs diff --git a/rustfmt-core/tests/source/hard-tabs.rs b/tests/source/hard-tabs.rs similarity index 100% rename from rustfmt-core/tests/source/hard-tabs.rs rename to tests/source/hard-tabs.rs diff --git a/rustfmt-core/tests/source/hello.rs b/tests/source/hello.rs similarity index 100% rename from rustfmt-core/tests/source/hello.rs rename to tests/source/hello.rs diff --git a/rustfmt-core/tests/source/hello2.rs b/tests/source/hello2.rs similarity index 100% rename from rustfmt-core/tests/source/hello2.rs rename to tests/source/hello2.rs diff --git a/rustfmt-core/tests/source/immovable_generators.rs b/tests/source/immovable_generators.rs similarity index 100% rename from rustfmt-core/tests/source/immovable_generators.rs rename to tests/source/immovable_generators.rs diff --git a/rustfmt-core/tests/source/impls.rs b/tests/source/impls.rs similarity index 100% rename from rustfmt-core/tests/source/impls.rs rename to tests/source/impls.rs diff --git a/rustfmt-core/tests/source/imports-reorder-lines-and-items.rs b/tests/source/imports-reorder-lines-and-items.rs similarity index 100% rename from rustfmt-core/tests/source/imports-reorder-lines-and-items.rs rename to tests/source/imports-reorder-lines-and-items.rs diff --git a/rustfmt-core/tests/source/imports-reorder-lines.rs b/tests/source/imports-reorder-lines.rs similarity index 100% rename from rustfmt-core/tests/source/imports-reorder-lines.rs rename to tests/source/imports-reorder-lines.rs diff --git a/rustfmt-core/tests/source/imports-reorder.rs b/tests/source/imports-reorder.rs similarity index 100% rename from rustfmt-core/tests/source/imports-reorder.rs rename to tests/source/imports-reorder.rs diff --git a/rustfmt-core/tests/source/imports.rs b/tests/source/imports.rs similarity index 100% rename from rustfmt-core/tests/source/imports.rs rename to tests/source/imports.rs diff --git a/rustfmt-core/tests/source/issue-1021.rs b/tests/source/issue-1021.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1021.rs rename to tests/source/issue-1021.rs diff --git a/rustfmt-core/tests/source/issue-1049.rs b/tests/source/issue-1049.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1049.rs rename to tests/source/issue-1049.rs diff --git a/rustfmt-core/tests/source/issue-1111.rs b/tests/source/issue-1111.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1111.rs rename to tests/source/issue-1111.rs diff --git a/rustfmt-core/tests/source/issue-1120.rs b/tests/source/issue-1120.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1120.rs rename to tests/source/issue-1120.rs diff --git a/rustfmt-core/tests/source/issue-1124.rs b/tests/source/issue-1124.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1124.rs rename to tests/source/issue-1124.rs diff --git a/rustfmt-core/tests/source/issue-1127.rs b/tests/source/issue-1127.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1127.rs rename to tests/source/issue-1127.rs diff --git a/rustfmt-core/tests/source/issue-1158.rs b/tests/source/issue-1158.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1158.rs rename to tests/source/issue-1158.rs diff --git a/rustfmt-core/tests/source/issue-1177.rs b/tests/source/issue-1177.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1177.rs rename to tests/source/issue-1177.rs diff --git a/rustfmt-core/tests/source/issue-1192.rs b/tests/source/issue-1192.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1192.rs rename to tests/source/issue-1192.rs diff --git a/rustfmt-core/tests/source/issue-1211.rs b/tests/source/issue-1211.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1211.rs rename to tests/source/issue-1211.rs diff --git a/rustfmt-core/tests/source/issue-1216.rs b/tests/source/issue-1216.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1216.rs rename to tests/source/issue-1216.rs diff --git a/rustfmt-core/tests/source/issue-1239.rs b/tests/source/issue-1239.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1239.rs rename to tests/source/issue-1239.rs diff --git a/rustfmt-core/tests/source/issue-1278.rs b/tests/source/issue-1278.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1278.rs rename to tests/source/issue-1278.rs diff --git a/rustfmt-core/tests/source/issue-1350.rs b/tests/source/issue-1350.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1350.rs rename to tests/source/issue-1350.rs diff --git a/rustfmt-core/tests/source/issue-1366.rs b/tests/source/issue-1366.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1366.rs rename to tests/source/issue-1366.rs diff --git a/rustfmt-core/tests/source/issue-1468.rs b/tests/source/issue-1468.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1468.rs rename to tests/source/issue-1468.rs diff --git a/rustfmt-core/tests/source/issue-1693.rs b/tests/source/issue-1693.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1693.rs rename to tests/source/issue-1693.rs diff --git a/rustfmt-core/tests/source/issue-1800.rs b/tests/source/issue-1800.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1800.rs rename to tests/source/issue-1800.rs diff --git a/rustfmt-core/tests/source/issue-1914.rs b/tests/source/issue-1914.rs similarity index 100% rename from rustfmt-core/tests/source/issue-1914.rs rename to tests/source/issue-1914.rs diff --git a/rustfmt-core/tests/source/issue-2025.rs b/tests/source/issue-2025.rs similarity index 100% rename from rustfmt-core/tests/source/issue-2025.rs rename to tests/source/issue-2025.rs diff --git a/rustfmt-core/tests/source/issue-2111.rs b/tests/source/issue-2111.rs similarity index 100% rename from rustfmt-core/tests/source/issue-2111.rs rename to tests/source/issue-2111.rs diff --git a/rustfmt-core/tests/source/issue-2164.rs b/tests/source/issue-2164.rs similarity index 100% rename from rustfmt-core/tests/source/issue-2164.rs rename to tests/source/issue-2164.rs diff --git a/rustfmt-core/tests/source/issue-2179.rs b/tests/source/issue-2179.rs similarity index 100% rename from rustfmt-core/tests/source/issue-2179.rs rename to tests/source/issue-2179.rs diff --git a/rustfmt-core/tests/source/issue-2256.rs b/tests/source/issue-2256.rs similarity index 100% rename from rustfmt-core/tests/source/issue-2256.rs rename to tests/source/issue-2256.rs diff --git a/rustfmt-core/tests/source/issue-2342.rs b/tests/source/issue-2342.rs similarity index 100% rename from rustfmt-core/tests/source/issue-2342.rs rename to tests/source/issue-2342.rs diff --git a/rustfmt-core/tests/source/issue-2446.rs b/tests/source/issue-2446.rs similarity index 100% rename from rustfmt-core/tests/source/issue-2446.rs rename to tests/source/issue-2446.rs diff --git a/rustfmt-core/tests/source/issue-2479.rs b/tests/source/issue-2479.rs similarity index 100% rename from rustfmt-core/tests/source/issue-2479.rs rename to tests/source/issue-2479.rs diff --git a/rustfmt-core/tests/source/issue-447.rs b/tests/source/issue-447.rs similarity index 100% rename from rustfmt-core/tests/source/issue-447.rs rename to tests/source/issue-447.rs diff --git a/rustfmt-core/tests/source/issue-510.rs b/tests/source/issue-510.rs similarity index 100% rename from rustfmt-core/tests/source/issue-510.rs rename to tests/source/issue-510.rs diff --git a/rustfmt-core/tests/source/issue-811.rs b/tests/source/issue-811.rs similarity index 100% rename from rustfmt-core/tests/source/issue-811.rs rename to tests/source/issue-811.rs diff --git a/rustfmt-core/tests/source/issue-850.rs b/tests/source/issue-850.rs similarity index 100% rename from rustfmt-core/tests/source/issue-850.rs rename to tests/source/issue-850.rs diff --git a/rustfmt-core/tests/source/issue-855.rs b/tests/source/issue-855.rs similarity index 100% rename from rustfmt-core/tests/source/issue-855.rs rename to tests/source/issue-855.rs diff --git a/rustfmt-core/tests/source/issue-913.rs b/tests/source/issue-913.rs similarity index 100% rename from rustfmt-core/tests/source/issue-913.rs rename to tests/source/issue-913.rs diff --git a/rustfmt-core/tests/source/issue-945.rs b/tests/source/issue-945.rs similarity index 100% rename from rustfmt-core/tests/source/issue-945.rs rename to tests/source/issue-945.rs diff --git a/rustfmt-core/tests/source/issue-977.rs b/tests/source/issue-977.rs similarity index 100% rename from rustfmt-core/tests/source/issue-977.rs rename to tests/source/issue-977.rs diff --git a/rustfmt-core/tests/source/item-brace-style-always-next-line.rs b/tests/source/item-brace-style-always-next-line.rs similarity index 100% rename from rustfmt-core/tests/source/item-brace-style-always-next-line.rs rename to tests/source/item-brace-style-always-next-line.rs diff --git a/rustfmt-core/tests/source/item-brace-style-prefer-same-line.rs b/tests/source/item-brace-style-prefer-same-line.rs similarity index 100% rename from rustfmt-core/tests/source/item-brace-style-prefer-same-line.rs rename to tests/source/item-brace-style-prefer-same-line.rs diff --git a/rustfmt-core/tests/source/item-brace-style-same-line-where.rs b/tests/source/item-brace-style-same-line-where.rs similarity index 100% rename from rustfmt-core/tests/source/item-brace-style-same-line-where.rs rename to tests/source/item-brace-style-same-line-where.rs diff --git a/rustfmt-core/tests/source/large-block.rs b/tests/source/large-block.rs similarity index 100% rename from rustfmt-core/tests/source/large-block.rs rename to tests/source/large-block.rs diff --git a/rustfmt-core/tests/source/large_vec.rs b/tests/source/large_vec.rs similarity index 100% rename from rustfmt-core/tests/source/large_vec.rs rename to tests/source/large_vec.rs diff --git a/rustfmt-core/tests/source/lazy_static.rs b/tests/source/lazy_static.rs similarity index 100% rename from rustfmt-core/tests/source/lazy_static.rs rename to tests/source/lazy_static.rs diff --git a/rustfmt-core/tests/source/long-match-arms-brace-newline.rs b/tests/source/long-match-arms-brace-newline.rs similarity index 100% rename from rustfmt-core/tests/source/long-match-arms-brace-newline.rs rename to tests/source/long-match-arms-brace-newline.rs diff --git a/rustfmt-core/tests/source/long_field_access.rs b/tests/source/long_field_access.rs similarity index 100% rename from rustfmt-core/tests/source/long_field_access.rs rename to tests/source/long_field_access.rs diff --git a/rustfmt-core/tests/source/loop.rs b/tests/source/loop.rs similarity index 100% rename from rustfmt-core/tests/source/loop.rs rename to tests/source/loop.rs diff --git a/rustfmt-core/tests/source/macro_not_expr.rs b/tests/source/macro_not_expr.rs similarity index 100% rename from rustfmt-core/tests/source/macro_not_expr.rs rename to tests/source/macro_not_expr.rs diff --git a/rustfmt-core/tests/source/macro_rules.rs b/tests/source/macro_rules.rs similarity index 100% rename from rustfmt-core/tests/source/macro_rules.rs rename to tests/source/macro_rules.rs diff --git a/rustfmt-core/tests/source/macros.rs b/tests/source/macros.rs similarity index 100% rename from rustfmt-core/tests/source/macros.rs rename to tests/source/macros.rs diff --git a/rustfmt-core/tests/source/markdown-comment-with-options.rs b/tests/source/markdown-comment-with-options.rs similarity index 100% rename from rustfmt-core/tests/source/markdown-comment-with-options.rs rename to tests/source/markdown-comment-with-options.rs diff --git a/rustfmt-core/tests/source/markdown-comment.rs b/tests/source/markdown-comment.rs similarity index 100% rename from rustfmt-core/tests/source/markdown-comment.rs rename to tests/source/markdown-comment.rs diff --git a/rustfmt-core/tests/source/match-block-trailing-comma.rs b/tests/source/match-block-trailing-comma.rs similarity index 100% rename from rustfmt-core/tests/source/match-block-trailing-comma.rs rename to tests/source/match-block-trailing-comma.rs diff --git a/rustfmt-core/tests/source/match-nowrap-trailing-comma.rs b/tests/source/match-nowrap-trailing-comma.rs similarity index 100% rename from rustfmt-core/tests/source/match-nowrap-trailing-comma.rs rename to tests/source/match-nowrap-trailing-comma.rs diff --git a/rustfmt-core/tests/source/match-nowrap.rs b/tests/source/match-nowrap.rs similarity index 100% rename from rustfmt-core/tests/source/match-nowrap.rs rename to tests/source/match-nowrap.rs diff --git a/rustfmt-core/tests/source/match.rs b/tests/source/match.rs similarity index 100% rename from rustfmt-core/tests/source/match.rs rename to tests/source/match.rs diff --git a/rustfmt-core/tests/source/max-line-length-in-chars.rs b/tests/source/max-line-length-in-chars.rs similarity index 100% rename from rustfmt-core/tests/source/max-line-length-in-chars.rs rename to tests/source/max-line-length-in-chars.rs diff --git a/rustfmt-core/tests/source/mod-1.rs b/tests/source/mod-1.rs similarity index 100% rename from rustfmt-core/tests/source/mod-1.rs rename to tests/source/mod-1.rs diff --git a/rustfmt-core/tests/source/mod-2.rs b/tests/source/mod-2.rs similarity index 100% rename from rustfmt-core/tests/source/mod-2.rs rename to tests/source/mod-2.rs diff --git a/rustfmt-core/tests/source/mod_skip_child.rs b/tests/source/mod_skip_child.rs similarity index 100% rename from rustfmt-core/tests/source/mod_skip_child.rs rename to tests/source/mod_skip_child.rs diff --git a/rustfmt-core/tests/source/multiple.rs b/tests/source/multiple.rs similarity index 100% rename from rustfmt-core/tests/source/multiple.rs rename to tests/source/multiple.rs diff --git a/rustfmt-core/tests/source/nested-if-else.rs b/tests/source/nested-if-else.rs similarity index 100% rename from rustfmt-core/tests/source/nested-if-else.rs rename to tests/source/nested-if-else.rs diff --git a/rustfmt-core/tests/source/nested_skipped/mod.rs b/tests/source/nested_skipped/mod.rs similarity index 100% rename from rustfmt-core/tests/source/nested_skipped/mod.rs rename to tests/source/nested_skipped/mod.rs diff --git a/rustfmt-core/tests/source/nestedmod/mod.rs b/tests/source/nestedmod/mod.rs similarity index 100% rename from rustfmt-core/tests/source/nestedmod/mod.rs rename to tests/source/nestedmod/mod.rs diff --git a/rustfmt-core/tests/source/nestedmod/mod2a.rs b/tests/source/nestedmod/mod2a.rs similarity index 100% rename from rustfmt-core/tests/source/nestedmod/mod2a.rs rename to tests/source/nestedmod/mod2a.rs diff --git a/rustfmt-core/tests/source/nestedmod/mod2b.rs b/tests/source/nestedmod/mod2b.rs similarity index 100% rename from rustfmt-core/tests/source/nestedmod/mod2b.rs rename to tests/source/nestedmod/mod2b.rs diff --git a/rustfmt-core/tests/source/nestedmod/mod2c.rs b/tests/source/nestedmod/mod2c.rs similarity index 100% rename from rustfmt-core/tests/source/nestedmod/mod2c.rs rename to tests/source/nestedmod/mod2c.rs diff --git a/rustfmt-core/tests/source/nestedmod/mymod1/mod3a.rs b/tests/source/nestedmod/mymod1/mod3a.rs similarity index 100% rename from rustfmt-core/tests/source/nestedmod/mymod1/mod3a.rs rename to tests/source/nestedmod/mymod1/mod3a.rs diff --git a/rustfmt-core/tests/source/nestedmod/submod2/a.rs b/tests/source/nestedmod/submod2/a.rs similarity index 100% rename from rustfmt-core/tests/source/nestedmod/submod2/a.rs rename to tests/source/nestedmod/submod2/a.rs diff --git a/rustfmt-core/tests/source/nestedmod/submod2/mod.rs b/tests/source/nestedmod/submod2/mod.rs similarity index 100% rename from rustfmt-core/tests/source/nestedmod/submod2/mod.rs rename to tests/source/nestedmod/submod2/mod.rs diff --git a/rustfmt-core/tests/source/no_new_line_beginning.rs b/tests/source/no_new_line_beginning.rs similarity index 100% rename from rustfmt-core/tests/source/no_new_line_beginning.rs rename to tests/source/no_new_line_beginning.rs diff --git a/rustfmt-core/tests/source/other.rs b/tests/source/other.rs similarity index 100% rename from rustfmt-core/tests/source/other.rs rename to tests/source/other.rs diff --git a/rustfmt-core/tests/source/paths.rs b/tests/source/paths.rs similarity index 100% rename from rustfmt-core/tests/source/paths.rs rename to tests/source/paths.rs diff --git a/rustfmt-core/tests/source/pattern-condense-wildcards.rs b/tests/source/pattern-condense-wildcards.rs similarity index 100% rename from rustfmt-core/tests/source/pattern-condense-wildcards.rs rename to tests/source/pattern-condense-wildcards.rs diff --git a/rustfmt-core/tests/source/pattern.rs b/tests/source/pattern.rs similarity index 100% rename from rustfmt-core/tests/source/pattern.rs rename to tests/source/pattern.rs diff --git a/rustfmt-core/tests/source/pub-restricted.rs b/tests/source/pub-restricted.rs similarity index 100% rename from rustfmt-core/tests/source/pub-restricted.rs rename to tests/source/pub-restricted.rs diff --git a/rustfmt-core/tests/source/remove_blank_lines.rs b/tests/source/remove_blank_lines.rs similarity index 100% rename from rustfmt-core/tests/source/remove_blank_lines.rs rename to tests/source/remove_blank_lines.rs diff --git a/rustfmt-core/tests/source/single-line-if-else.rs b/tests/source/single-line-if-else.rs similarity index 100% rename from rustfmt-core/tests/source/single-line-if-else.rs rename to tests/source/single-line-if-else.rs diff --git a/rustfmt-core/tests/source/soft-wrapping.rs b/tests/source/soft-wrapping.rs similarity index 100% rename from rustfmt-core/tests/source/soft-wrapping.rs rename to tests/source/soft-wrapping.rs diff --git a/rustfmt-core/tests/source/space-not-before-newline.rs b/tests/source/space-not-before-newline.rs similarity index 100% rename from rustfmt-core/tests/source/space-not-before-newline.rs rename to tests/source/space-not-before-newline.rs diff --git a/rustfmt-core/tests/source/spaces-around-ranges.rs b/tests/source/spaces-around-ranges.rs similarity index 100% rename from rustfmt-core/tests/source/spaces-around-ranges.rs rename to tests/source/spaces-around-ranges.rs diff --git a/rustfmt-core/tests/source/static.rs b/tests/source/static.rs similarity index 100% rename from rustfmt-core/tests/source/static.rs rename to tests/source/static.rs diff --git a/rustfmt-core/tests/source/string-lit-2.rs b/tests/source/string-lit-2.rs similarity index 100% rename from rustfmt-core/tests/source/string-lit-2.rs rename to tests/source/string-lit-2.rs diff --git a/rustfmt-core/tests/source/string-lit.rs b/tests/source/string-lit.rs similarity index 100% rename from rustfmt-core/tests/source/string-lit.rs rename to tests/source/string-lit.rs diff --git a/rustfmt-core/tests/source/string_punctuation.rs b/tests/source/string_punctuation.rs similarity index 100% rename from rustfmt-core/tests/source/string_punctuation.rs rename to tests/source/string_punctuation.rs diff --git a/rustfmt-core/tests/source/struct-field-attributes.rs b/tests/source/struct-field-attributes.rs similarity index 100% rename from rustfmt-core/tests/source/struct-field-attributes.rs rename to tests/source/struct-field-attributes.rs diff --git a/rustfmt-core/tests/source/struct_lits.rs b/tests/source/struct_lits.rs similarity index 100% rename from rustfmt-core/tests/source/struct_lits.rs rename to tests/source/struct_lits.rs diff --git a/rustfmt-core/tests/source/struct_lits_multiline.rs b/tests/source/struct_lits_multiline.rs similarity index 100% rename from rustfmt-core/tests/source/struct_lits_multiline.rs rename to tests/source/struct_lits_multiline.rs diff --git a/rustfmt-core/tests/source/struct_lits_visual.rs b/tests/source/struct_lits_visual.rs similarity index 100% rename from rustfmt-core/tests/source/struct_lits_visual.rs rename to tests/source/struct_lits_visual.rs diff --git a/rustfmt-core/tests/source/struct_lits_visual_multiline.rs b/tests/source/struct_lits_visual_multiline.rs similarity index 100% rename from rustfmt-core/tests/source/struct_lits_visual_multiline.rs rename to tests/source/struct_lits_visual_multiline.rs diff --git a/rustfmt-core/tests/source/struct_tuple_visual.rs b/tests/source/struct_tuple_visual.rs similarity index 100% rename from rustfmt-core/tests/source/struct_tuple_visual.rs rename to tests/source/struct_tuple_visual.rs diff --git a/rustfmt-core/tests/source/structs.rs b/tests/source/structs.rs similarity index 100% rename from rustfmt-core/tests/source/structs.rs rename to tests/source/structs.rs diff --git a/rustfmt-core/tests/source/trailing-comma-never.rs b/tests/source/trailing-comma-never.rs similarity index 100% rename from rustfmt-core/tests/source/trailing-comma-never.rs rename to tests/source/trailing-comma-never.rs diff --git a/rustfmt-core/tests/source/trailing_commas.rs b/tests/source/trailing_commas.rs similarity index 100% rename from rustfmt-core/tests/source/trailing_commas.rs rename to tests/source/trailing_commas.rs diff --git a/rustfmt-core/tests/source/trait.rs b/tests/source/trait.rs similarity index 100% rename from rustfmt-core/tests/source/trait.rs rename to tests/source/trait.rs diff --git a/rustfmt-core/tests/source/try-conversion.rs b/tests/source/try-conversion.rs similarity index 100% rename from rustfmt-core/tests/source/try-conversion.rs rename to tests/source/try-conversion.rs diff --git a/rustfmt-core/tests/source/tuple.rs b/tests/source/tuple.rs similarity index 100% rename from rustfmt-core/tests/source/tuple.rs rename to tests/source/tuple.rs diff --git a/rustfmt-core/tests/source/type-ascription.rs b/tests/source/type-ascription.rs similarity index 100% rename from rustfmt-core/tests/source/type-ascription.rs rename to tests/source/type-ascription.rs diff --git a/rustfmt-core/tests/source/type.rs b/tests/source/type.rs similarity index 100% rename from rustfmt-core/tests/source/type.rs rename to tests/source/type.rs diff --git a/rustfmt-core/tests/source/type_alias.rs b/tests/source/type_alias.rs similarity index 100% rename from rustfmt-core/tests/source/type_alias.rs rename to tests/source/type_alias.rs diff --git a/rustfmt-core/tests/source/unions.rs b/tests/source/unions.rs similarity index 100% rename from rustfmt-core/tests/source/unions.rs rename to tests/source/unions.rs diff --git a/rustfmt-core/tests/source/where-clause-rfc.rs b/tests/source/where-clause-rfc.rs similarity index 100% rename from rustfmt-core/tests/source/where-clause-rfc.rs rename to tests/source/where-clause-rfc.rs diff --git a/rustfmt-core/tests/source/where-clause.rs b/tests/source/where-clause.rs similarity index 100% rename from rustfmt-core/tests/source/where-clause.rs rename to tests/source/where-clause.rs diff --git a/rustfmt-core/tests/target/assignment.rs b/tests/target/assignment.rs similarity index 100% rename from rustfmt-core/tests/target/assignment.rs rename to tests/target/assignment.rs diff --git a/rustfmt-core/tests/target/associated-items.rs b/tests/target/associated-items.rs similarity index 100% rename from rustfmt-core/tests/target/associated-items.rs rename to tests/target/associated-items.rs diff --git a/rustfmt-core/tests/target/associated-types-bounds-wrapping.rs b/tests/target/associated-types-bounds-wrapping.rs similarity index 100% rename from rustfmt-core/tests/target/associated-types-bounds-wrapping.rs rename to tests/target/associated-types-bounds-wrapping.rs diff --git a/rustfmt-core/tests/target/associated_type_defaults.rs b/tests/target/associated_type_defaults.rs similarity index 100% rename from rustfmt-core/tests/target/associated_type_defaults.rs rename to tests/target/associated_type_defaults.rs diff --git a/rustfmt-core/tests/target/attrib-extern-crate.rs b/tests/target/attrib-extern-crate.rs similarity index 100% rename from rustfmt-core/tests/target/attrib-extern-crate.rs rename to tests/target/attrib-extern-crate.rs diff --git a/rustfmt-core/tests/target/attrib.rs b/tests/target/attrib.rs similarity index 100% rename from rustfmt-core/tests/target/attrib.rs rename to tests/target/attrib.rs diff --git a/rustfmt-core/tests/target/big-impl-block.rs b/tests/target/big-impl-block.rs similarity index 100% rename from rustfmt-core/tests/target/big-impl-block.rs rename to tests/target/big-impl-block.rs diff --git a/rustfmt-core/tests/target/big-impl-visual.rs b/tests/target/big-impl-visual.rs similarity index 100% rename from rustfmt-core/tests/target/big-impl-visual.rs rename to tests/target/big-impl-visual.rs diff --git a/rustfmt-core/tests/target/break-and-continue.rs b/tests/target/break-and-continue.rs similarity index 100% rename from rustfmt-core/tests/target/break-and-continue.rs rename to tests/target/break-and-continue.rs diff --git a/rustfmt-core/tests/target/catch.rs b/tests/target/catch.rs similarity index 100% rename from rustfmt-core/tests/target/catch.rs rename to tests/target/catch.rs diff --git a/rustfmt-core/tests/target/chains-visual.rs b/tests/target/chains-visual.rs similarity index 100% rename from rustfmt-core/tests/target/chains-visual.rs rename to tests/target/chains-visual.rs diff --git a/rustfmt-core/tests/target/chains.rs b/tests/target/chains.rs similarity index 100% rename from rustfmt-core/tests/target/chains.rs rename to tests/target/chains.rs diff --git a/rustfmt-core/tests/target/closure-block-inside-macro.rs b/tests/target/closure-block-inside-macro.rs similarity index 100% rename from rustfmt-core/tests/target/closure-block-inside-macro.rs rename to tests/target/closure-block-inside-macro.rs diff --git a/rustfmt-core/tests/target/closure.rs b/tests/target/closure.rs similarity index 100% rename from rustfmt-core/tests/target/closure.rs rename to tests/target/closure.rs diff --git a/rustfmt-core/tests/target/comment-inside-const.rs b/tests/target/comment-inside-const.rs similarity index 100% rename from rustfmt-core/tests/target/comment-inside-const.rs rename to tests/target/comment-inside-const.rs diff --git a/rustfmt-core/tests/target/comment-not-disappear.rs b/tests/target/comment-not-disappear.rs similarity index 100% rename from rustfmt-core/tests/target/comment-not-disappear.rs rename to tests/target/comment-not-disappear.rs diff --git a/rustfmt-core/tests/target/comment.rs b/tests/target/comment.rs similarity index 100% rename from rustfmt-core/tests/target/comment.rs rename to tests/target/comment.rs diff --git a/rustfmt-core/tests/target/comment2.rs b/tests/target/comment2.rs similarity index 100% rename from rustfmt-core/tests/target/comment2.rs rename to tests/target/comment2.rs diff --git a/rustfmt-core/tests/target/comment3.rs b/tests/target/comment3.rs similarity index 100% rename from rustfmt-core/tests/target/comment3.rs rename to tests/target/comment3.rs diff --git a/rustfmt-core/tests/target/comment4.rs b/tests/target/comment4.rs similarity index 100% rename from rustfmt-core/tests/target/comment4.rs rename to tests/target/comment4.rs diff --git a/rustfmt-core/tests/target/comment5.rs b/tests/target/comment5.rs similarity index 100% rename from rustfmt-core/tests/target/comment5.rs rename to tests/target/comment5.rs diff --git a/rustfmt-core/tests/target/comment_crlf_newline.rs b/tests/target/comment_crlf_newline.rs similarity index 100% rename from rustfmt-core/tests/target/comment_crlf_newline.rs rename to tests/target/comment_crlf_newline.rs diff --git a/rustfmt-core/tests/target/comments-fn.rs b/tests/target/comments-fn.rs similarity index 100% rename from rustfmt-core/tests/target/comments-fn.rs rename to tests/target/comments-fn.rs diff --git a/rustfmt-core/tests/target/configs/blank_lines_lower_bound/1.rs b/tests/target/configs/blank_lines_lower_bound/1.rs similarity index 100% rename from rustfmt-core/tests/target/configs/blank_lines_lower_bound/1.rs rename to tests/target/configs/blank_lines_lower_bound/1.rs diff --git a/rustfmt-core/tests/target/configs/brace_style/fn_always_next_line.rs b/tests/target/configs/brace_style/fn_always_next_line.rs similarity index 100% rename from rustfmt-core/tests/target/configs/brace_style/fn_always_next_line.rs rename to tests/target/configs/brace_style/fn_always_next_line.rs diff --git a/rustfmt-core/tests/target/configs/brace_style/fn_prefer_same_line.rs b/tests/target/configs/brace_style/fn_prefer_same_line.rs similarity index 100% rename from rustfmt-core/tests/target/configs/brace_style/fn_prefer_same_line.rs rename to tests/target/configs/brace_style/fn_prefer_same_line.rs diff --git a/rustfmt-core/tests/target/configs/brace_style/fn_same_line_where.rs b/tests/target/configs/brace_style/fn_same_line_where.rs similarity index 100% rename from rustfmt-core/tests/target/configs/brace_style/fn_same_line_where.rs rename to tests/target/configs/brace_style/fn_same_line_where.rs diff --git a/rustfmt-core/tests/target/configs/brace_style/item_always_next_line.rs b/tests/target/configs/brace_style/item_always_next_line.rs similarity index 100% rename from rustfmt-core/tests/target/configs/brace_style/item_always_next_line.rs rename to tests/target/configs/brace_style/item_always_next_line.rs diff --git a/rustfmt-core/tests/target/configs/brace_style/item_prefer_same_line.rs b/tests/target/configs/brace_style/item_prefer_same_line.rs similarity index 100% rename from rustfmt-core/tests/target/configs/brace_style/item_prefer_same_line.rs rename to tests/target/configs/brace_style/item_prefer_same_line.rs diff --git a/rustfmt-core/tests/target/configs/brace_style/item_same_line_where.rs b/tests/target/configs/brace_style/item_same_line_where.rs similarity index 100% rename from rustfmt-core/tests/target/configs/brace_style/item_same_line_where.rs rename to tests/target/configs/brace_style/item_same_line_where.rs diff --git a/rustfmt-core/tests/target/configs/combine_control_expr/false.rs b/tests/target/configs/combine_control_expr/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/combine_control_expr/false.rs rename to tests/target/configs/combine_control_expr/false.rs diff --git a/rustfmt-core/tests/target/configs/combine_control_expr/true.rs b/tests/target/configs/combine_control_expr/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/combine_control_expr/true.rs rename to tests/target/configs/combine_control_expr/true.rs diff --git a/rustfmt-core/tests/target/configs/comment_width/above.rs b/tests/target/configs/comment_width/above.rs similarity index 100% rename from rustfmt-core/tests/target/configs/comment_width/above.rs rename to tests/target/configs/comment_width/above.rs diff --git a/rustfmt-core/tests/target/configs/comment_width/below.rs b/tests/target/configs/comment_width/below.rs similarity index 100% rename from rustfmt-core/tests/target/configs/comment_width/below.rs rename to tests/target/configs/comment_width/below.rs diff --git a/rustfmt-core/tests/target/configs/comment_width/ignore.rs b/tests/target/configs/comment_width/ignore.rs similarity index 100% rename from rustfmt-core/tests/target/configs/comment_width/ignore.rs rename to tests/target/configs/comment_width/ignore.rs diff --git a/rustfmt-core/tests/target/configs/condense_wildcard_suffixes/false.rs b/tests/target/configs/condense_wildcard_suffixes/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/condense_wildcard_suffixes/false.rs rename to tests/target/configs/condense_wildcard_suffixes/false.rs diff --git a/rustfmt-core/tests/target/configs/condense_wildcard_suffixes/true.rs b/tests/target/configs/condense_wildcard_suffixes/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/condense_wildcard_suffixes/true.rs rename to tests/target/configs/condense_wildcard_suffixes/true.rs diff --git a/rustfmt-core/tests/target/configs/control_brace_style/always_next_line.rs b/tests/target/configs/control_brace_style/always_next_line.rs similarity index 100% rename from rustfmt-core/tests/target/configs/control_brace_style/always_next_line.rs rename to tests/target/configs/control_brace_style/always_next_line.rs diff --git a/rustfmt-core/tests/target/configs/control_brace_style/always_same_line.rs b/tests/target/configs/control_brace_style/always_same_line.rs similarity index 100% rename from rustfmt-core/tests/target/configs/control_brace_style/always_same_line.rs rename to tests/target/configs/control_brace_style/always_same_line.rs diff --git a/rustfmt-core/tests/target/configs/control_brace_style/closing_next_line.rs b/tests/target/configs/control_brace_style/closing_next_line.rs similarity index 100% rename from rustfmt-core/tests/target/configs/control_brace_style/closing_next_line.rs rename to tests/target/configs/control_brace_style/closing_next_line.rs diff --git a/rustfmt-core/tests/target/configs/disable_all_formatting/false.rs b/tests/target/configs/disable_all_formatting/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/disable_all_formatting/false.rs rename to tests/target/configs/disable_all_formatting/false.rs diff --git a/rustfmt-core/tests/target/configs/disable_all_formatting/true.rs b/tests/target/configs/disable_all_formatting/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/disable_all_formatting/true.rs rename to tests/target/configs/disable_all_formatting/true.rs diff --git a/rustfmt-core/tests/target/configs/empty_item_single_line/false.rs b/tests/target/configs/empty_item_single_line/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/empty_item_single_line/false.rs rename to tests/target/configs/empty_item_single_line/false.rs diff --git a/rustfmt-core/tests/target/configs/empty_item_single_line/true.rs b/tests/target/configs/empty_item_single_line/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/empty_item_single_line/true.rs rename to tests/target/configs/empty_item_single_line/true.rs diff --git a/rustfmt-core/tests/target/configs/error_on_line_overflow/false.rs b/tests/target/configs/error_on_line_overflow/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/error_on_line_overflow/false.rs rename to tests/target/configs/error_on_line_overflow/false.rs diff --git a/rustfmt-core/tests/target/configs/error_on_unformatted/false.rs b/tests/target/configs/error_on_unformatted/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/error_on_unformatted/false.rs rename to tests/target/configs/error_on_unformatted/false.rs diff --git a/rustfmt-core/tests/target/configs/fn_args_density/compressed.rs b/tests/target/configs/fn_args_density/compressed.rs similarity index 100% rename from rustfmt-core/tests/target/configs/fn_args_density/compressed.rs rename to tests/target/configs/fn_args_density/compressed.rs diff --git a/rustfmt-core/tests/target/configs/fn_args_density/tall.rs b/tests/target/configs/fn_args_density/tall.rs similarity index 100% rename from rustfmt-core/tests/target/configs/fn_args_density/tall.rs rename to tests/target/configs/fn_args_density/tall.rs diff --git a/rustfmt-core/tests/target/configs/fn_args_density/vertical.rs b/tests/target/configs/fn_args_density/vertical.rs similarity index 100% rename from rustfmt-core/tests/target/configs/fn_args_density/vertical.rs rename to tests/target/configs/fn_args_density/vertical.rs diff --git a/rustfmt-core/tests/target/configs/fn_single_line/false.rs b/tests/target/configs/fn_single_line/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/fn_single_line/false.rs rename to tests/target/configs/fn_single_line/false.rs diff --git a/rustfmt-core/tests/target/configs/fn_single_line/true.rs b/tests/target/configs/fn_single_line/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/fn_single_line/true.rs rename to tests/target/configs/fn_single_line/true.rs diff --git a/rustfmt-core/tests/target/configs/force_explicit_abi/false.rs b/tests/target/configs/force_explicit_abi/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/force_explicit_abi/false.rs rename to tests/target/configs/force_explicit_abi/false.rs diff --git a/rustfmt-core/tests/target/configs/force_explicit_abi/true.rs b/tests/target/configs/force_explicit_abi/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/force_explicit_abi/true.rs rename to tests/target/configs/force_explicit_abi/true.rs diff --git a/rustfmt-core/tests/target/configs/force_multiline_block/false.rs b/tests/target/configs/force_multiline_block/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/force_multiline_block/false.rs rename to tests/target/configs/force_multiline_block/false.rs diff --git a/rustfmt-core/tests/target/configs/force_multiline_block/true.rs b/tests/target/configs/force_multiline_block/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/force_multiline_block/true.rs rename to tests/target/configs/force_multiline_block/true.rs diff --git a/rustfmt-core/tests/target/configs/format_strings/false.rs b/tests/target/configs/format_strings/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/format_strings/false.rs rename to tests/target/configs/format_strings/false.rs diff --git a/rustfmt-core/tests/target/configs/format_strings/true.rs b/tests/target/configs/format_strings/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/format_strings/true.rs rename to tests/target/configs/format_strings/true.rs diff --git a/rustfmt-core/tests/target/configs/hard_tabs/false.rs b/tests/target/configs/hard_tabs/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/hard_tabs/false.rs rename to tests/target/configs/hard_tabs/false.rs diff --git a/rustfmt-core/tests/target/configs/hard_tabs/true.rs b/tests/target/configs/hard_tabs/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/hard_tabs/true.rs rename to tests/target/configs/hard_tabs/true.rs diff --git a/rustfmt-core/tests/target/configs/imports_indent/block.rs b/tests/target/configs/imports_indent/block.rs similarity index 100% rename from rustfmt-core/tests/target/configs/imports_indent/block.rs rename to tests/target/configs/imports_indent/block.rs diff --git a/rustfmt-core/tests/target/configs/imports_layout/horizontal_vertical.rs b/tests/target/configs/imports_layout/horizontal_vertical.rs similarity index 100% rename from rustfmt-core/tests/target/configs/imports_layout/horizontal_vertical.rs rename to tests/target/configs/imports_layout/horizontal_vertical.rs diff --git a/rustfmt-core/tests/target/configs/imports_layout/mixed.rs b/tests/target/configs/imports_layout/mixed.rs similarity index 100% rename from rustfmt-core/tests/target/configs/imports_layout/mixed.rs rename to tests/target/configs/imports_layout/mixed.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/block_args.rs b/tests/target/configs/indent_style/block_args.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/block_args.rs rename to tests/target/configs/indent_style/block_args.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/block_array.rs b/tests/target/configs/indent_style/block_array.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/block_array.rs rename to tests/target/configs/indent_style/block_array.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/block_call.rs b/tests/target/configs/indent_style/block_call.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/block_call.rs rename to tests/target/configs/indent_style/block_call.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/block_chain.rs b/tests/target/configs/indent_style/block_chain.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/block_chain.rs rename to tests/target/configs/indent_style/block_chain.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/block_generic.rs b/tests/target/configs/indent_style/block_generic.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/block_generic.rs rename to tests/target/configs/indent_style/block_generic.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/block_struct_lit.rs b/tests/target/configs/indent_style/block_struct_lit.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/block_struct_lit.rs rename to tests/target/configs/indent_style/block_struct_lit.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/block_tab_spaces_call.rs b/tests/target/configs/indent_style/block_tab_spaces_call.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/block_tab_spaces_call.rs rename to tests/target/configs/indent_style/block_tab_spaces_call.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/block_trailing_comma_call.rs b/tests/target/configs/indent_style/block_trailing_comma_call.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/block_trailing_comma_call.rs rename to tests/target/configs/indent_style/block_trailing_comma_call.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/block_where_pred.rs b/tests/target/configs/indent_style/block_where_pred.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/block_where_pred.rs rename to tests/target/configs/indent_style/block_where_pred.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/default.rs b/tests/target/configs/indent_style/default.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/default.rs rename to tests/target/configs/indent_style/default.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/rfc_control.rs b/tests/target/configs/indent_style/rfc_control.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/rfc_control.rs rename to tests/target/configs/indent_style/rfc_control.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/rfc_where.rs b/tests/target/configs/indent_style/rfc_where.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/rfc_where.rs rename to tests/target/configs/indent_style/rfc_where.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/visual_args.rs b/tests/target/configs/indent_style/visual_args.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/visual_args.rs rename to tests/target/configs/indent_style/visual_args.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/visual_array.rs b/tests/target/configs/indent_style/visual_array.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/visual_array.rs rename to tests/target/configs/indent_style/visual_array.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/visual_call.rs b/tests/target/configs/indent_style/visual_call.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/visual_call.rs rename to tests/target/configs/indent_style/visual_call.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/visual_chain.rs b/tests/target/configs/indent_style/visual_chain.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/visual_chain.rs rename to tests/target/configs/indent_style/visual_chain.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/visual_generics.rs b/tests/target/configs/indent_style/visual_generics.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/visual_generics.rs rename to tests/target/configs/indent_style/visual_generics.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/visual_struct_lit.rs b/tests/target/configs/indent_style/visual_struct_lit.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/visual_struct_lit.rs rename to tests/target/configs/indent_style/visual_struct_lit.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/visual_trailing_comma.rs b/tests/target/configs/indent_style/visual_trailing_comma.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/visual_trailing_comma.rs rename to tests/target/configs/indent_style/visual_trailing_comma.rs diff --git a/rustfmt-core/tests/target/configs/indent_style/visual_where_pred.rs b/tests/target/configs/indent_style/visual_where_pred.rs similarity index 100% rename from rustfmt-core/tests/target/configs/indent_style/visual_where_pred.rs rename to tests/target/configs/indent_style/visual_where_pred.rs diff --git a/rustfmt-core/tests/target/configs/match_arm_blocks/false.rs b/tests/target/configs/match_arm_blocks/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/match_arm_blocks/false.rs rename to tests/target/configs/match_arm_blocks/false.rs diff --git a/rustfmt-core/tests/target/configs/match_arm_blocks/true.rs b/tests/target/configs/match_arm_blocks/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/match_arm_blocks/true.rs rename to tests/target/configs/match_arm_blocks/true.rs diff --git a/rustfmt-core/tests/target/configs/match_block_trailing_comma/false.rs b/tests/target/configs/match_block_trailing_comma/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/match_block_trailing_comma/false.rs rename to tests/target/configs/match_block_trailing_comma/false.rs diff --git a/rustfmt-core/tests/target/configs/match_block_trailing_comma/true.rs b/tests/target/configs/match_block_trailing_comma/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/match_block_trailing_comma/true.rs rename to tests/target/configs/match_block_trailing_comma/true.rs diff --git a/rustfmt-core/tests/target/configs/merge_derives/true.rs b/tests/target/configs/merge_derives/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/merge_derives/true.rs rename to tests/target/configs/merge_derives/true.rs diff --git a/rustfmt-core/tests/target/configs/normalize_comments/false.rs b/tests/target/configs/normalize_comments/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/normalize_comments/false.rs rename to tests/target/configs/normalize_comments/false.rs diff --git a/rustfmt-core/tests/target/configs/normalize_comments/true.rs b/tests/target/configs/normalize_comments/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/normalize_comments/true.rs rename to tests/target/configs/normalize_comments/true.rs diff --git a/rustfmt-core/tests/target/configs/reorder_extern_crates/false.rs b/tests/target/configs/reorder_extern_crates/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/reorder_extern_crates/false.rs rename to tests/target/configs/reorder_extern_crates/false.rs diff --git a/rustfmt-core/tests/target/configs/reorder_extern_crates/true.rs b/tests/target/configs/reorder_extern_crates/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/reorder_extern_crates/true.rs rename to tests/target/configs/reorder_extern_crates/true.rs diff --git a/rustfmt-core/tests/target/configs/reorder_imported_names/false.rs b/tests/target/configs/reorder_imported_names/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/reorder_imported_names/false.rs rename to tests/target/configs/reorder_imported_names/false.rs diff --git a/rustfmt-core/tests/target/configs/reorder_imported_names/true.rs b/tests/target/configs/reorder_imported_names/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/reorder_imported_names/true.rs rename to tests/target/configs/reorder_imported_names/true.rs diff --git a/rustfmt-core/tests/target/configs/reorder_imports/false.rs b/tests/target/configs/reorder_imports/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/reorder_imports/false.rs rename to tests/target/configs/reorder_imports/false.rs diff --git a/rustfmt-core/tests/target/configs/reorder_imports/true.rs b/tests/target/configs/reorder_imports/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/reorder_imports/true.rs rename to tests/target/configs/reorder_imports/true.rs diff --git a/rustfmt-core/tests/target/configs/reorder_imports_in_group/false.rs b/tests/target/configs/reorder_imports_in_group/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/reorder_imports_in_group/false.rs rename to tests/target/configs/reorder_imports_in_group/false.rs diff --git a/rustfmt-core/tests/target/configs/reorder_imports_in_group/true.rs b/tests/target/configs/reorder_imports_in_group/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/reorder_imports_in_group/true.rs rename to tests/target/configs/reorder_imports_in_group/true.rs diff --git a/rustfmt-core/tests/target/configs/reorder_modules/dolor/mod.rs b/tests/target/configs/reorder_modules/dolor/mod.rs similarity index 100% rename from rustfmt-core/tests/target/configs/reorder_modules/dolor/mod.rs rename to tests/target/configs/reorder_modules/dolor/mod.rs diff --git a/rustfmt-core/tests/target/configs/reorder_modules/false.rs b/tests/target/configs/reorder_modules/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/reorder_modules/false.rs rename to tests/target/configs/reorder_modules/false.rs diff --git a/rustfmt-core/tests/target/configs/reorder_modules/ipsum/mod.rs b/tests/target/configs/reorder_modules/ipsum/mod.rs similarity index 100% rename from rustfmt-core/tests/target/configs/reorder_modules/ipsum/mod.rs rename to tests/target/configs/reorder_modules/ipsum/mod.rs diff --git a/rustfmt-core/tests/target/configs/reorder_modules/lorem/mod.rs b/tests/target/configs/reorder_modules/lorem/mod.rs similarity index 100% rename from rustfmt-core/tests/target/configs/reorder_modules/lorem/mod.rs rename to tests/target/configs/reorder_modules/lorem/mod.rs diff --git a/rustfmt-core/tests/target/configs/reorder_modules/sit/mod.rs b/tests/target/configs/reorder_modules/sit/mod.rs similarity index 100% rename from rustfmt-core/tests/target/configs/reorder_modules/sit/mod.rs rename to tests/target/configs/reorder_modules/sit/mod.rs diff --git a/rustfmt-core/tests/target/configs/reorder_modules/true.rs b/tests/target/configs/reorder_modules/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/reorder_modules/true.rs rename to tests/target/configs/reorder_modules/true.rs diff --git a/rustfmt-core/tests/target/configs/skip_children/true.rs b/tests/target/configs/skip_children/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/skip_children/true.rs rename to tests/target/configs/skip_children/true.rs diff --git a/rustfmt-core/tests/target/configs/space_before_colon/true.rs b/tests/target/configs/space_before_colon/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/space_before_colon/true.rs rename to tests/target/configs/space_before_colon/true.rs diff --git a/rustfmt-core/tests/target/configs/spaces_around_ranges/false.rs b/tests/target/configs/spaces_around_ranges/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/spaces_around_ranges/false.rs rename to tests/target/configs/spaces_around_ranges/false.rs diff --git a/rustfmt-core/tests/target/configs/spaces_around_ranges/true.rs b/tests/target/configs/spaces_around_ranges/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/spaces_around_ranges/true.rs rename to tests/target/configs/spaces_around_ranges/true.rs diff --git a/rustfmt-core/tests/target/configs/spaces_within_parens_and_brackets/false.rs b/tests/target/configs/spaces_within_parens_and_brackets/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/spaces_within_parens_and_brackets/false.rs rename to tests/target/configs/spaces_within_parens_and_brackets/false.rs diff --git a/rustfmt-core/tests/target/configs/spaces_within_parens_and_brackets/true.rs b/tests/target/configs/spaces_within_parens_and_brackets/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/spaces_within_parens_and_brackets/true.rs rename to tests/target/configs/spaces_within_parens_and_brackets/true.rs diff --git a/rustfmt-core/tests/target/configs/struct_field_align_threshold/20.rs b/tests/target/configs/struct_field_align_threshold/20.rs similarity index 100% rename from rustfmt-core/tests/target/configs/struct_field_align_threshold/20.rs rename to tests/target/configs/struct_field_align_threshold/20.rs diff --git a/rustfmt-core/tests/target/configs/struct_lit_single_line/false.rs b/tests/target/configs/struct_lit_single_line/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/struct_lit_single_line/false.rs rename to tests/target/configs/struct_lit_single_line/false.rs diff --git a/rustfmt-core/tests/target/configs/tab_spaces/2.rs b/tests/target/configs/tab_spaces/2.rs similarity index 100% rename from rustfmt-core/tests/target/configs/tab_spaces/2.rs rename to tests/target/configs/tab_spaces/2.rs diff --git a/rustfmt-core/tests/target/configs/tab_spaces/4.rs b/tests/target/configs/tab_spaces/4.rs similarity index 100% rename from rustfmt-core/tests/target/configs/tab_spaces/4.rs rename to tests/target/configs/tab_spaces/4.rs diff --git a/rustfmt-core/tests/target/configs/trailing_comma/always.rs b/tests/target/configs/trailing_comma/always.rs similarity index 100% rename from rustfmt-core/tests/target/configs/trailing_comma/always.rs rename to tests/target/configs/trailing_comma/always.rs diff --git a/rustfmt-core/tests/target/configs/trailing_comma/never.rs b/tests/target/configs/trailing_comma/never.rs similarity index 100% rename from rustfmt-core/tests/target/configs/trailing_comma/never.rs rename to tests/target/configs/trailing_comma/never.rs diff --git a/rustfmt-core/tests/target/configs/trailing_comma/vertical.rs b/tests/target/configs/trailing_comma/vertical.rs similarity index 100% rename from rustfmt-core/tests/target/configs/trailing_comma/vertical.rs rename to tests/target/configs/trailing_comma/vertical.rs diff --git a/rustfmt-core/tests/target/configs/trailing_semicolon/false.rs b/tests/target/configs/trailing_semicolon/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/trailing_semicolon/false.rs rename to tests/target/configs/trailing_semicolon/false.rs diff --git a/rustfmt-core/tests/target/configs/trailing_semicolon/true.rs b/tests/target/configs/trailing_semicolon/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/trailing_semicolon/true.rs rename to tests/target/configs/trailing_semicolon/true.rs diff --git a/rustfmt-core/tests/target/configs/type_punctuation_density/compressed.rs b/tests/target/configs/type_punctuation_density/compressed.rs similarity index 100% rename from rustfmt-core/tests/target/configs/type_punctuation_density/compressed.rs rename to tests/target/configs/type_punctuation_density/compressed.rs diff --git a/rustfmt-core/tests/target/configs/type_punctuation_density/wide.rs b/tests/target/configs/type_punctuation_density/wide.rs similarity index 100% rename from rustfmt-core/tests/target/configs/type_punctuation_density/wide.rs rename to tests/target/configs/type_punctuation_density/wide.rs diff --git a/rustfmt-core/tests/target/configs/use_field_init_shorthand/false.rs b/tests/target/configs/use_field_init_shorthand/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/use_field_init_shorthand/false.rs rename to tests/target/configs/use_field_init_shorthand/false.rs diff --git a/rustfmt-core/tests/target/configs/use_field_init_shorthand/true.rs b/tests/target/configs/use_field_init_shorthand/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/use_field_init_shorthand/true.rs rename to tests/target/configs/use_field_init_shorthand/true.rs diff --git a/rustfmt-core/tests/target/configs/use_try_shorthand/false.rs b/tests/target/configs/use_try_shorthand/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/use_try_shorthand/false.rs rename to tests/target/configs/use_try_shorthand/false.rs diff --git a/rustfmt-core/tests/target/configs/use_try_shorthand/true.rs b/tests/target/configs/use_try_shorthand/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/use_try_shorthand/true.rs rename to tests/target/configs/use_try_shorthand/true.rs diff --git a/rustfmt-core/tests/target/configs/where_single_line/true.rs b/tests/target/configs/where_single_line/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/where_single_line/true.rs rename to tests/target/configs/where_single_line/true.rs diff --git a/rustfmt-core/tests/target/configs/wrap_comments/false.rs b/tests/target/configs/wrap_comments/false.rs similarity index 100% rename from rustfmt-core/tests/target/configs/wrap_comments/false.rs rename to tests/target/configs/wrap_comments/false.rs diff --git a/rustfmt-core/tests/target/configs/wrap_comments/true.rs b/tests/target/configs/wrap_comments/true.rs similarity index 100% rename from rustfmt-core/tests/target/configs/wrap_comments/true.rs rename to tests/target/configs/wrap_comments/true.rs diff --git a/rustfmt-core/tests/target/control-brace-style-always-next-line.rs b/tests/target/control-brace-style-always-next-line.rs similarity index 100% rename from rustfmt-core/tests/target/control-brace-style-always-next-line.rs rename to tests/target/control-brace-style-always-next-line.rs diff --git a/rustfmt-core/tests/target/control-brace-style-always-same-line.rs b/tests/target/control-brace-style-always-same-line.rs similarity index 100% rename from rustfmt-core/tests/target/control-brace-style-always-same-line.rs rename to tests/target/control-brace-style-always-same-line.rs diff --git a/rustfmt-core/tests/target/doc.rs b/tests/target/doc.rs similarity index 100% rename from rustfmt-core/tests/target/doc.rs rename to tests/target/doc.rs diff --git a/rustfmt-core/tests/target/else-if-brace-style-always-next-line.rs b/tests/target/else-if-brace-style-always-next-line.rs similarity index 100% rename from rustfmt-core/tests/target/else-if-brace-style-always-next-line.rs rename to tests/target/else-if-brace-style-always-next-line.rs diff --git a/rustfmt-core/tests/target/else-if-brace-style-always-same-line.rs b/tests/target/else-if-brace-style-always-same-line.rs similarity index 100% rename from rustfmt-core/tests/target/else-if-brace-style-always-same-line.rs rename to tests/target/else-if-brace-style-always-same-line.rs diff --git a/rustfmt-core/tests/target/else-if-brace-style-closing-next-line.rs b/tests/target/else-if-brace-style-closing-next-line.rs similarity index 100% rename from rustfmt-core/tests/target/else-if-brace-style-closing-next-line.rs rename to tests/target/else-if-brace-style-closing-next-line.rs diff --git a/rustfmt-core/tests/target/empty-tuple-no-conversion-to-unit-struct.rs b/tests/target/empty-tuple-no-conversion-to-unit-struct.rs similarity index 100% rename from rustfmt-core/tests/target/empty-tuple-no-conversion-to-unit-struct.rs rename to tests/target/empty-tuple-no-conversion-to-unit-struct.rs diff --git a/rustfmt-core/tests/target/empty_file.rs b/tests/target/empty_file.rs similarity index 100% rename from rustfmt-core/tests/target/empty_file.rs rename to tests/target/empty_file.rs diff --git a/rustfmt-core/tests/target/enum.rs b/tests/target/enum.rs similarity index 100% rename from rustfmt-core/tests/target/enum.rs rename to tests/target/enum.rs diff --git a/rustfmt-core/tests/target/expr-block.rs b/tests/target/expr-block.rs similarity index 100% rename from rustfmt-core/tests/target/expr-block.rs rename to tests/target/expr-block.rs diff --git a/rustfmt-core/tests/target/expr.rs b/tests/target/expr.rs similarity index 100% rename from rustfmt-core/tests/target/expr.rs rename to tests/target/expr.rs diff --git a/rustfmt-core/tests/target/extern.rs b/tests/target/extern.rs similarity index 100% rename from rustfmt-core/tests/target/extern.rs rename to tests/target/extern.rs diff --git a/rustfmt-core/tests/target/extern_not_explicit.rs b/tests/target/extern_not_explicit.rs similarity index 100% rename from rustfmt-core/tests/target/extern_not_explicit.rs rename to tests/target/extern_not_explicit.rs diff --git a/rustfmt-core/tests/target/file-lines-1.rs b/tests/target/file-lines-1.rs similarity index 100% rename from rustfmt-core/tests/target/file-lines-1.rs rename to tests/target/file-lines-1.rs diff --git a/rustfmt-core/tests/target/file-lines-2.rs b/tests/target/file-lines-2.rs similarity index 100% rename from rustfmt-core/tests/target/file-lines-2.rs rename to tests/target/file-lines-2.rs diff --git a/rustfmt-core/tests/target/file-lines-3.rs b/tests/target/file-lines-3.rs similarity index 100% rename from rustfmt-core/tests/target/file-lines-3.rs rename to tests/target/file-lines-3.rs diff --git a/rustfmt-core/tests/target/file-lines-4.rs b/tests/target/file-lines-4.rs similarity index 100% rename from rustfmt-core/tests/target/file-lines-4.rs rename to tests/target/file-lines-4.rs diff --git a/rustfmt-core/tests/target/file-lines-5.rs b/tests/target/file-lines-5.rs similarity index 100% rename from rustfmt-core/tests/target/file-lines-5.rs rename to tests/target/file-lines-5.rs diff --git a/rustfmt-core/tests/target/file-lines-6.rs b/tests/target/file-lines-6.rs similarity index 100% rename from rustfmt-core/tests/target/file-lines-6.rs rename to tests/target/file-lines-6.rs diff --git a/rustfmt-core/tests/target/file-lines-item.rs b/tests/target/file-lines-item.rs similarity index 100% rename from rustfmt-core/tests/target/file-lines-item.rs rename to tests/target/file-lines-item.rs diff --git a/rustfmt-core/tests/target/fn-args-with-last-line-comment.rs b/tests/target/fn-args-with-last-line-comment.rs similarity index 100% rename from rustfmt-core/tests/target/fn-args-with-last-line-comment.rs rename to tests/target/fn-args-with-last-line-comment.rs diff --git a/rustfmt-core/tests/target/fn-custom-2.rs b/tests/target/fn-custom-2.rs similarity index 100% rename from rustfmt-core/tests/target/fn-custom-2.rs rename to tests/target/fn-custom-2.rs diff --git a/rustfmt-core/tests/target/fn-custom-3.rs b/tests/target/fn-custom-3.rs similarity index 100% rename from rustfmt-core/tests/target/fn-custom-3.rs rename to tests/target/fn-custom-3.rs diff --git a/rustfmt-core/tests/target/fn-custom-4.rs b/tests/target/fn-custom-4.rs similarity index 100% rename from rustfmt-core/tests/target/fn-custom-4.rs rename to tests/target/fn-custom-4.rs diff --git a/rustfmt-core/tests/target/fn-custom-6.rs b/tests/target/fn-custom-6.rs similarity index 100% rename from rustfmt-core/tests/target/fn-custom-6.rs rename to tests/target/fn-custom-6.rs diff --git a/rustfmt-core/tests/target/fn-custom-7.rs b/tests/target/fn-custom-7.rs similarity index 100% rename from rustfmt-core/tests/target/fn-custom-7.rs rename to tests/target/fn-custom-7.rs diff --git a/rustfmt-core/tests/target/fn-custom-8.rs b/tests/target/fn-custom-8.rs similarity index 100% rename from rustfmt-core/tests/target/fn-custom-8.rs rename to tests/target/fn-custom-8.rs diff --git a/rustfmt-core/tests/target/fn-custom.rs b/tests/target/fn-custom.rs similarity index 100% rename from rustfmt-core/tests/target/fn-custom.rs rename to tests/target/fn-custom.rs diff --git a/rustfmt-core/tests/target/fn-simple.rs b/tests/target/fn-simple.rs similarity index 100% rename from rustfmt-core/tests/target/fn-simple.rs rename to tests/target/fn-simple.rs diff --git a/rustfmt-core/tests/target/fn-single-line.rs b/tests/target/fn-single-line.rs similarity index 100% rename from rustfmt-core/tests/target/fn-single-line.rs rename to tests/target/fn-single-line.rs diff --git a/rustfmt-core/tests/target/fn-ty.rs b/tests/target/fn-ty.rs similarity index 100% rename from rustfmt-core/tests/target/fn-ty.rs rename to tests/target/fn-ty.rs diff --git a/rustfmt-core/tests/target/fn.rs b/tests/target/fn.rs similarity index 100% rename from rustfmt-core/tests/target/fn.rs rename to tests/target/fn.rs diff --git a/rustfmt-core/tests/target/fn_args_density-vertical.rs b/tests/target/fn_args_density-vertical.rs similarity index 100% rename from rustfmt-core/tests/target/fn_args_density-vertical.rs rename to tests/target/fn_args_density-vertical.rs diff --git a/rustfmt-core/tests/target/fn_args_indent-block.rs b/tests/target/fn_args_indent-block.rs similarity index 100% rename from rustfmt-core/tests/target/fn_args_indent-block.rs rename to tests/target/fn_args_indent-block.rs diff --git a/rustfmt-core/tests/target/fn_once.rs b/tests/target/fn_once.rs similarity index 100% rename from rustfmt-core/tests/target/fn_once.rs rename to tests/target/fn_once.rs diff --git a/rustfmt-core/tests/target/hard-tabs.rs b/tests/target/hard-tabs.rs similarity index 100% rename from rustfmt-core/tests/target/hard-tabs.rs rename to tests/target/hard-tabs.rs diff --git a/rustfmt-core/tests/target/hello.rs b/tests/target/hello.rs similarity index 100% rename from rustfmt-core/tests/target/hello.rs rename to tests/target/hello.rs diff --git a/rustfmt-core/tests/target/immovable_generators.rs b/tests/target/immovable_generators.rs similarity index 100% rename from rustfmt-core/tests/target/immovable_generators.rs rename to tests/target/immovable_generators.rs diff --git a/rustfmt-core/tests/target/impl.rs b/tests/target/impl.rs similarity index 100% rename from rustfmt-core/tests/target/impl.rs rename to tests/target/impl.rs diff --git a/rustfmt-core/tests/target/impls.rs b/tests/target/impls.rs similarity index 100% rename from rustfmt-core/tests/target/impls.rs rename to tests/target/impls.rs diff --git a/rustfmt-core/tests/target/import-fencepost-length.rs b/tests/target/import-fencepost-length.rs similarity index 100% rename from rustfmt-core/tests/target/import-fencepost-length.rs rename to tests/target/import-fencepost-length.rs diff --git a/rustfmt-core/tests/target/imports-reorder-lines-and-items.rs b/tests/target/imports-reorder-lines-and-items.rs similarity index 100% rename from rustfmt-core/tests/target/imports-reorder-lines-and-items.rs rename to tests/target/imports-reorder-lines-and-items.rs diff --git a/rustfmt-core/tests/target/imports-reorder-lines.rs b/tests/target/imports-reorder-lines.rs similarity index 100% rename from rustfmt-core/tests/target/imports-reorder-lines.rs rename to tests/target/imports-reorder-lines.rs diff --git a/rustfmt-core/tests/target/imports-reorder.rs b/tests/target/imports-reorder.rs similarity index 100% rename from rustfmt-core/tests/target/imports-reorder.rs rename to tests/target/imports-reorder.rs diff --git a/rustfmt-core/tests/target/imports.rs b/tests/target/imports.rs similarity index 100% rename from rustfmt-core/tests/target/imports.rs rename to tests/target/imports.rs diff --git a/rustfmt-core/tests/target/indented-impl.rs b/tests/target/indented-impl.rs similarity index 100% rename from rustfmt-core/tests/target/indented-impl.rs rename to tests/target/indented-impl.rs diff --git a/rustfmt-core/tests/target/issue-1021.rs b/tests/target/issue-1021.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1021.rs rename to tests/target/issue-1021.rs diff --git a/rustfmt-core/tests/target/issue-1049.rs b/tests/target/issue-1049.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1049.rs rename to tests/target/issue-1049.rs diff --git a/rustfmt-core/tests/target/issue-1055.rs b/tests/target/issue-1055.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1055.rs rename to tests/target/issue-1055.rs diff --git a/rustfmt-core/tests/target/issue-1111.rs b/tests/target/issue-1111.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1111.rs rename to tests/target/issue-1111.rs diff --git a/rustfmt-core/tests/target/issue-1113.rs b/tests/target/issue-1113.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1113.rs rename to tests/target/issue-1113.rs diff --git a/rustfmt-core/tests/target/issue-1120.rs b/tests/target/issue-1120.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1120.rs rename to tests/target/issue-1120.rs diff --git a/rustfmt-core/tests/target/issue-1124.rs b/tests/target/issue-1124.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1124.rs rename to tests/target/issue-1124.rs diff --git a/rustfmt-core/tests/target/issue-1127.rs b/tests/target/issue-1127.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1127.rs rename to tests/target/issue-1127.rs diff --git a/rustfmt-core/tests/target/issue-1158.rs b/tests/target/issue-1158.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1158.rs rename to tests/target/issue-1158.rs diff --git a/rustfmt-core/tests/target/issue-1177.rs b/tests/target/issue-1177.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1177.rs rename to tests/target/issue-1177.rs diff --git a/rustfmt-core/tests/target/issue-1192.rs b/tests/target/issue-1192.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1192.rs rename to tests/target/issue-1192.rs diff --git a/rustfmt-core/tests/target/issue-1211.rs b/tests/target/issue-1211.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1211.rs rename to tests/target/issue-1211.rs diff --git a/rustfmt-core/tests/target/issue-1214.rs b/tests/target/issue-1214.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1214.rs rename to tests/target/issue-1214.rs diff --git a/rustfmt-core/tests/target/issue-1216.rs b/tests/target/issue-1216.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1216.rs rename to tests/target/issue-1216.rs diff --git a/rustfmt-core/tests/target/issue-1239.rs b/tests/target/issue-1239.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1239.rs rename to tests/target/issue-1239.rs diff --git a/rustfmt-core/tests/target/issue-1247.rs b/tests/target/issue-1247.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1247.rs rename to tests/target/issue-1247.rs diff --git a/rustfmt-core/tests/target/issue-1255.rs b/tests/target/issue-1255.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1255.rs rename to tests/target/issue-1255.rs diff --git a/rustfmt-core/tests/target/issue-1278.rs b/tests/target/issue-1278.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1278.rs rename to tests/target/issue-1278.rs diff --git a/rustfmt-core/tests/target/issue-1350.rs b/tests/target/issue-1350.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1350.rs rename to tests/target/issue-1350.rs diff --git a/rustfmt-core/tests/target/issue-1366.rs b/tests/target/issue-1366.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1366.rs rename to tests/target/issue-1366.rs diff --git a/rustfmt-core/tests/target/issue-1397.rs b/tests/target/issue-1397.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1397.rs rename to tests/target/issue-1397.rs diff --git a/rustfmt-core/tests/target/issue-1468.rs b/tests/target/issue-1468.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1468.rs rename to tests/target/issue-1468.rs diff --git a/rustfmt-core/tests/target/issue-1598.rs b/tests/target/issue-1598.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1598.rs rename to tests/target/issue-1598.rs diff --git a/rustfmt-core/tests/target/issue-1624.rs b/tests/target/issue-1624.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1624.rs rename to tests/target/issue-1624.rs diff --git a/rustfmt-core/tests/target/issue-1681.rs b/tests/target/issue-1681.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1681.rs rename to tests/target/issue-1681.rs diff --git a/rustfmt-core/tests/target/issue-1693.rs b/tests/target/issue-1693.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1693.rs rename to tests/target/issue-1693.rs diff --git a/rustfmt-core/tests/target/issue-1703.rs b/tests/target/issue-1703.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1703.rs rename to tests/target/issue-1703.rs diff --git a/rustfmt-core/tests/target/issue-1800.rs b/tests/target/issue-1800.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1800.rs rename to tests/target/issue-1800.rs diff --git a/rustfmt-core/tests/target/issue-1802.rs b/tests/target/issue-1802.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1802.rs rename to tests/target/issue-1802.rs diff --git a/rustfmt-core/tests/target/issue-1824.rs b/tests/target/issue-1824.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1824.rs rename to tests/target/issue-1824.rs diff --git a/rustfmt-core/tests/target/issue-1914.rs b/tests/target/issue-1914.rs similarity index 100% rename from rustfmt-core/tests/target/issue-1914.rs rename to tests/target/issue-1914.rs diff --git a/rustfmt-core/tests/target/issue-2025.rs b/tests/target/issue-2025.rs similarity index 100% rename from rustfmt-core/tests/target/issue-2025.rs rename to tests/target/issue-2025.rs diff --git a/rustfmt-core/tests/target/issue-2103.rs b/tests/target/issue-2103.rs similarity index 100% rename from rustfmt-core/tests/target/issue-2103.rs rename to tests/target/issue-2103.rs diff --git a/rustfmt-core/tests/target/issue-2111.rs b/tests/target/issue-2111.rs similarity index 100% rename from rustfmt-core/tests/target/issue-2111.rs rename to tests/target/issue-2111.rs diff --git a/rustfmt-core/tests/target/issue-2123.rs b/tests/target/issue-2123.rs similarity index 100% rename from rustfmt-core/tests/target/issue-2123.rs rename to tests/target/issue-2123.rs diff --git a/rustfmt-core/tests/target/issue-2164.rs b/tests/target/issue-2164.rs similarity index 100% rename from rustfmt-core/tests/target/issue-2164.rs rename to tests/target/issue-2164.rs diff --git a/rustfmt-core/tests/target/issue-2179.rs b/tests/target/issue-2179.rs similarity index 100% rename from rustfmt-core/tests/target/issue-2179.rs rename to tests/target/issue-2179.rs diff --git a/rustfmt-core/tests/target/issue-2197.rs b/tests/target/issue-2197.rs similarity index 100% rename from rustfmt-core/tests/target/issue-2197.rs rename to tests/target/issue-2197.rs diff --git a/rustfmt-core/tests/target/issue-2256.rs b/tests/target/issue-2256.rs similarity index 100% rename from rustfmt-core/tests/target/issue-2256.rs rename to tests/target/issue-2256.rs diff --git a/rustfmt-core/tests/target/issue-2324.rs b/tests/target/issue-2324.rs similarity index 100% rename from rustfmt-core/tests/target/issue-2324.rs rename to tests/target/issue-2324.rs diff --git a/rustfmt-core/tests/target/issue-2329.rs b/tests/target/issue-2329.rs similarity index 100% rename from rustfmt-core/tests/target/issue-2329.rs rename to tests/target/issue-2329.rs diff --git a/rustfmt-core/tests/target/issue-2342.rs b/tests/target/issue-2342.rs similarity index 100% rename from rustfmt-core/tests/target/issue-2342.rs rename to tests/target/issue-2342.rs diff --git a/rustfmt-core/tests/target/issue-2346.rs b/tests/target/issue-2346.rs similarity index 100% rename from rustfmt-core/tests/target/issue-2346.rs rename to tests/target/issue-2346.rs diff --git a/rustfmt-core/tests/target/issue-2401.rs b/tests/target/issue-2401.rs similarity index 100% rename from rustfmt-core/tests/target/issue-2401.rs rename to tests/target/issue-2401.rs diff --git a/rustfmt-core/tests/target/issue-2446.rs b/tests/target/issue-2446.rs similarity index 100% rename from rustfmt-core/tests/target/issue-2446.rs rename to tests/target/issue-2446.rs diff --git a/rustfmt-core/tests/target/issue-2479.rs b/tests/target/issue-2479.rs similarity index 100% rename from rustfmt-core/tests/target/issue-2479.rs rename to tests/target/issue-2479.rs diff --git a/rustfmt-core/tests/target/issue-447.rs b/tests/target/issue-447.rs similarity index 100% rename from rustfmt-core/tests/target/issue-447.rs rename to tests/target/issue-447.rs diff --git a/rustfmt-core/tests/target/issue-510.rs b/tests/target/issue-510.rs similarity index 100% rename from rustfmt-core/tests/target/issue-510.rs rename to tests/target/issue-510.rs diff --git a/rustfmt-core/tests/target/issue-64.rs b/tests/target/issue-64.rs similarity index 100% rename from rustfmt-core/tests/target/issue-64.rs rename to tests/target/issue-64.rs diff --git a/rustfmt-core/tests/target/issue-691.rs b/tests/target/issue-691.rs similarity index 100% rename from rustfmt-core/tests/target/issue-691.rs rename to tests/target/issue-691.rs diff --git a/rustfmt-core/tests/target/issue-770.rs b/tests/target/issue-770.rs similarity index 100% rename from rustfmt-core/tests/target/issue-770.rs rename to tests/target/issue-770.rs diff --git a/rustfmt-core/tests/target/issue-811.rs b/tests/target/issue-811.rs similarity index 100% rename from rustfmt-core/tests/target/issue-811.rs rename to tests/target/issue-811.rs diff --git a/rustfmt-core/tests/target/issue-831.rs b/tests/target/issue-831.rs similarity index 100% rename from rustfmt-core/tests/target/issue-831.rs rename to tests/target/issue-831.rs diff --git a/rustfmt-core/tests/target/issue-850.rs b/tests/target/issue-850.rs similarity index 100% rename from rustfmt-core/tests/target/issue-850.rs rename to tests/target/issue-850.rs diff --git a/rustfmt-core/tests/target/issue-855.rs b/tests/target/issue-855.rs similarity index 100% rename from rustfmt-core/tests/target/issue-855.rs rename to tests/target/issue-855.rs diff --git a/rustfmt-core/tests/target/issue-913.rs b/tests/target/issue-913.rs similarity index 100% rename from rustfmt-core/tests/target/issue-913.rs rename to tests/target/issue-913.rs diff --git a/rustfmt-core/tests/target/issue-945.rs b/tests/target/issue-945.rs similarity index 100% rename from rustfmt-core/tests/target/issue-945.rs rename to tests/target/issue-945.rs diff --git a/rustfmt-core/tests/target/issue-977.rs b/tests/target/issue-977.rs similarity index 100% rename from rustfmt-core/tests/target/issue-977.rs rename to tests/target/issue-977.rs diff --git a/rustfmt-core/tests/target/item-brace-style-always-next-line.rs b/tests/target/item-brace-style-always-next-line.rs similarity index 100% rename from rustfmt-core/tests/target/item-brace-style-always-next-line.rs rename to tests/target/item-brace-style-always-next-line.rs diff --git a/rustfmt-core/tests/target/item-brace-style-prefer-same-line.rs b/tests/target/item-brace-style-prefer-same-line.rs similarity index 100% rename from rustfmt-core/tests/target/item-brace-style-prefer-same-line.rs rename to tests/target/item-brace-style-prefer-same-line.rs diff --git a/rustfmt-core/tests/target/item-brace-style-same-line-where.rs b/tests/target/item-brace-style-same-line-where.rs similarity index 100% rename from rustfmt-core/tests/target/item-brace-style-same-line-where.rs rename to tests/target/item-brace-style-same-line-where.rs diff --git a/rustfmt-core/tests/target/large-block.rs b/tests/target/large-block.rs similarity index 100% rename from rustfmt-core/tests/target/large-block.rs rename to tests/target/large-block.rs diff --git a/rustfmt-core/tests/target/large_vec.rs b/tests/target/large_vec.rs similarity index 100% rename from rustfmt-core/tests/target/large_vec.rs rename to tests/target/large_vec.rs diff --git a/rustfmt-core/tests/target/lazy_static.rs b/tests/target/lazy_static.rs similarity index 100% rename from rustfmt-core/tests/target/lazy_static.rs rename to tests/target/lazy_static.rs diff --git a/rustfmt-core/tests/target/long-fn-1.rs b/tests/target/long-fn-1.rs similarity index 100% rename from rustfmt-core/tests/target/long-fn-1.rs rename to tests/target/long-fn-1.rs diff --git a/rustfmt-core/tests/target/long-match-arms-brace-newline.rs b/tests/target/long-match-arms-brace-newline.rs similarity index 100% rename from rustfmt-core/tests/target/long-match-arms-brace-newline.rs rename to tests/target/long-match-arms-brace-newline.rs diff --git a/rustfmt-core/tests/target/long_field_access.rs b/tests/target/long_field_access.rs similarity index 100% rename from rustfmt-core/tests/target/long_field_access.rs rename to tests/target/long_field_access.rs diff --git a/rustfmt-core/tests/target/loop.rs b/tests/target/loop.rs similarity index 100% rename from rustfmt-core/tests/target/loop.rs rename to tests/target/loop.rs diff --git a/rustfmt-core/tests/target/macro_not_expr.rs b/tests/target/macro_not_expr.rs similarity index 100% rename from rustfmt-core/tests/target/macro_not_expr.rs rename to tests/target/macro_not_expr.rs diff --git a/rustfmt-core/tests/target/macro_rules.rs b/tests/target/macro_rules.rs similarity index 100% rename from rustfmt-core/tests/target/macro_rules.rs rename to tests/target/macro_rules.rs diff --git a/rustfmt-core/tests/target/macros.rs b/tests/target/macros.rs similarity index 100% rename from rustfmt-core/tests/target/macros.rs rename to tests/target/macros.rs diff --git a/rustfmt-core/tests/target/markdown-comment-with-options.rs b/tests/target/markdown-comment-with-options.rs similarity index 100% rename from rustfmt-core/tests/target/markdown-comment-with-options.rs rename to tests/target/markdown-comment-with-options.rs diff --git a/rustfmt-core/tests/target/markdown-comment.rs b/tests/target/markdown-comment.rs similarity index 100% rename from rustfmt-core/tests/target/markdown-comment.rs rename to tests/target/markdown-comment.rs diff --git a/rustfmt-core/tests/target/match-block-trailing-comma.rs b/tests/target/match-block-trailing-comma.rs similarity index 100% rename from rustfmt-core/tests/target/match-block-trailing-comma.rs rename to tests/target/match-block-trailing-comma.rs diff --git a/rustfmt-core/tests/target/match-nowrap-trailing-comma.rs b/tests/target/match-nowrap-trailing-comma.rs similarity index 100% rename from rustfmt-core/tests/target/match-nowrap-trailing-comma.rs rename to tests/target/match-nowrap-trailing-comma.rs diff --git a/rustfmt-core/tests/target/match-nowrap.rs b/tests/target/match-nowrap.rs similarity index 100% rename from rustfmt-core/tests/target/match-nowrap.rs rename to tests/target/match-nowrap.rs diff --git a/rustfmt-core/tests/target/match.rs b/tests/target/match.rs similarity index 100% rename from rustfmt-core/tests/target/match.rs rename to tests/target/match.rs diff --git a/rustfmt-core/tests/target/max-line-length-in-chars.rs b/tests/target/max-line-length-in-chars.rs similarity index 100% rename from rustfmt-core/tests/target/max-line-length-in-chars.rs rename to tests/target/max-line-length-in-chars.rs diff --git a/rustfmt-core/tests/target/mod-1.rs b/tests/target/mod-1.rs similarity index 100% rename from rustfmt-core/tests/target/mod-1.rs rename to tests/target/mod-1.rs diff --git a/rustfmt-core/tests/target/mod-2.rs b/tests/target/mod-2.rs similarity index 100% rename from rustfmt-core/tests/target/mod-2.rs rename to tests/target/mod-2.rs diff --git a/rustfmt-core/tests/target/mod_skip_child.rs b/tests/target/mod_skip_child.rs similarity index 100% rename from rustfmt-core/tests/target/mod_skip_child.rs rename to tests/target/mod_skip_child.rs diff --git a/rustfmt-core/tests/target/mulit-file.rs b/tests/target/mulit-file.rs similarity index 100% rename from rustfmt-core/tests/target/mulit-file.rs rename to tests/target/mulit-file.rs diff --git a/rustfmt-core/tests/target/multiple.rs b/tests/target/multiple.rs similarity index 100% rename from rustfmt-core/tests/target/multiple.rs rename to tests/target/multiple.rs diff --git a/rustfmt-core/tests/target/nested-if-else.rs b/tests/target/nested-if-else.rs similarity index 100% rename from rustfmt-core/tests/target/nested-if-else.rs rename to tests/target/nested-if-else.rs diff --git a/rustfmt-core/tests/target/nested-visual-block.rs b/tests/target/nested-visual-block.rs similarity index 100% rename from rustfmt-core/tests/target/nested-visual-block.rs rename to tests/target/nested-visual-block.rs diff --git a/rustfmt-core/tests/target/nested_skipped/mod.rs b/tests/target/nested_skipped/mod.rs similarity index 100% rename from rustfmt-core/tests/target/nested_skipped/mod.rs rename to tests/target/nested_skipped/mod.rs diff --git a/rustfmt-core/tests/target/nestedmod/mod.rs b/tests/target/nestedmod/mod.rs similarity index 100% rename from rustfmt-core/tests/target/nestedmod/mod.rs rename to tests/target/nestedmod/mod.rs diff --git a/rustfmt-core/tests/target/nestedmod/mod2a.rs b/tests/target/nestedmod/mod2a.rs similarity index 100% rename from rustfmt-core/tests/target/nestedmod/mod2a.rs rename to tests/target/nestedmod/mod2a.rs diff --git a/rustfmt-core/tests/target/nestedmod/mod2b.rs b/tests/target/nestedmod/mod2b.rs similarity index 100% rename from rustfmt-core/tests/target/nestedmod/mod2b.rs rename to tests/target/nestedmod/mod2b.rs diff --git a/rustfmt-core/tests/target/nestedmod/mod2c.rs b/tests/target/nestedmod/mod2c.rs similarity index 100% rename from rustfmt-core/tests/target/nestedmod/mod2c.rs rename to tests/target/nestedmod/mod2c.rs diff --git a/rustfmt-core/tests/target/nestedmod/mymod1/mod3a.rs b/tests/target/nestedmod/mymod1/mod3a.rs similarity index 100% rename from rustfmt-core/tests/target/nestedmod/mymod1/mod3a.rs rename to tests/target/nestedmod/mymod1/mod3a.rs diff --git a/rustfmt-core/tests/target/nestedmod/submod2/a.rs b/tests/target/nestedmod/submod2/a.rs similarity index 100% rename from rustfmt-core/tests/target/nestedmod/submod2/a.rs rename to tests/target/nestedmod/submod2/a.rs diff --git a/rustfmt-core/tests/target/nestedmod/submod2/mod.rs b/tests/target/nestedmod/submod2/mod.rs similarity index 100% rename from rustfmt-core/tests/target/nestedmod/submod2/mod.rs rename to tests/target/nestedmod/submod2/mod.rs diff --git a/rustfmt-core/tests/target/no_new_line_beginning.rs b/tests/target/no_new_line_beginning.rs similarity index 100% rename from rustfmt-core/tests/target/no_new_line_beginning.rs rename to tests/target/no_new_line_beginning.rs diff --git a/rustfmt-core/tests/target/other.rs b/tests/target/other.rs similarity index 100% rename from rustfmt-core/tests/target/other.rs rename to tests/target/other.rs diff --git a/rustfmt-core/tests/target/paths.rs b/tests/target/paths.rs similarity index 100% rename from rustfmt-core/tests/target/paths.rs rename to tests/target/paths.rs diff --git a/rustfmt-core/tests/target/pattern-condense-wildcards.rs b/tests/target/pattern-condense-wildcards.rs similarity index 100% rename from rustfmt-core/tests/target/pattern-condense-wildcards.rs rename to tests/target/pattern-condense-wildcards.rs diff --git a/rustfmt-core/tests/target/pattern.rs b/tests/target/pattern.rs similarity index 100% rename from rustfmt-core/tests/target/pattern.rs rename to tests/target/pattern.rs diff --git a/rustfmt-core/tests/target/pub-restricted.rs b/tests/target/pub-restricted.rs similarity index 100% rename from rustfmt-core/tests/target/pub-restricted.rs rename to tests/target/pub-restricted.rs diff --git a/rustfmt-core/tests/target/remove_blank_lines.rs b/tests/target/remove_blank_lines.rs similarity index 100% rename from rustfmt-core/tests/target/remove_blank_lines.rs rename to tests/target/remove_blank_lines.rs diff --git a/rustfmt-core/tests/target/single-line-if-else.rs b/tests/target/single-line-if-else.rs similarity index 100% rename from rustfmt-core/tests/target/single-line-if-else.rs rename to tests/target/single-line-if-else.rs diff --git a/rustfmt-core/tests/target/skip.rs b/tests/target/skip.rs similarity index 100% rename from rustfmt-core/tests/target/skip.rs rename to tests/target/skip.rs diff --git a/rustfmt-core/tests/target/skip_mod.rs b/tests/target/skip_mod.rs similarity index 100% rename from rustfmt-core/tests/target/skip_mod.rs rename to tests/target/skip_mod.rs diff --git a/rustfmt-core/tests/target/soft-wrapping.rs b/tests/target/soft-wrapping.rs similarity index 100% rename from rustfmt-core/tests/target/soft-wrapping.rs rename to tests/target/soft-wrapping.rs diff --git a/rustfmt-core/tests/target/space-not-before-newline.rs b/tests/target/space-not-before-newline.rs similarity index 100% rename from rustfmt-core/tests/target/space-not-before-newline.rs rename to tests/target/space-not-before-newline.rs diff --git a/rustfmt-core/tests/target/spaces-around-ranges.rs b/tests/target/spaces-around-ranges.rs similarity index 100% rename from rustfmt-core/tests/target/spaces-around-ranges.rs rename to tests/target/spaces-around-ranges.rs diff --git a/rustfmt-core/tests/target/static.rs b/tests/target/static.rs similarity index 100% rename from rustfmt-core/tests/target/static.rs rename to tests/target/static.rs diff --git a/rustfmt-core/tests/target/string-lit-2.rs b/tests/target/string-lit-2.rs similarity index 100% rename from rustfmt-core/tests/target/string-lit-2.rs rename to tests/target/string-lit-2.rs diff --git a/rustfmt-core/tests/target/string-lit-custom.rs b/tests/target/string-lit-custom.rs similarity index 100% rename from rustfmt-core/tests/target/string-lit-custom.rs rename to tests/target/string-lit-custom.rs diff --git a/rustfmt-core/tests/target/string-lit.rs b/tests/target/string-lit.rs similarity index 100% rename from rustfmt-core/tests/target/string-lit.rs rename to tests/target/string-lit.rs diff --git a/rustfmt-core/tests/target/string_punctuation.rs b/tests/target/string_punctuation.rs similarity index 100% rename from rustfmt-core/tests/target/string_punctuation.rs rename to tests/target/string_punctuation.rs diff --git a/rustfmt-core/tests/target/struct-field-attributes.rs b/tests/target/struct-field-attributes.rs similarity index 100% rename from rustfmt-core/tests/target/struct-field-attributes.rs rename to tests/target/struct-field-attributes.rs diff --git a/rustfmt-core/tests/target/struct_lits.rs b/tests/target/struct_lits.rs similarity index 100% rename from rustfmt-core/tests/target/struct_lits.rs rename to tests/target/struct_lits.rs diff --git a/rustfmt-core/tests/target/struct_lits_multiline.rs b/tests/target/struct_lits_multiline.rs similarity index 100% rename from rustfmt-core/tests/target/struct_lits_multiline.rs rename to tests/target/struct_lits_multiline.rs diff --git a/rustfmt-core/tests/target/struct_lits_visual.rs b/tests/target/struct_lits_visual.rs similarity index 100% rename from rustfmt-core/tests/target/struct_lits_visual.rs rename to tests/target/struct_lits_visual.rs diff --git a/rustfmt-core/tests/target/struct_lits_visual_multiline.rs b/tests/target/struct_lits_visual_multiline.rs similarity index 100% rename from rustfmt-core/tests/target/struct_lits_visual_multiline.rs rename to tests/target/struct_lits_visual_multiline.rs diff --git a/rustfmt-core/tests/target/struct_tuple_visual.rs b/tests/target/struct_tuple_visual.rs similarity index 100% rename from rustfmt-core/tests/target/struct_tuple_visual.rs rename to tests/target/struct_tuple_visual.rs diff --git a/rustfmt-core/tests/target/structs.rs b/tests/target/structs.rs similarity index 100% rename from rustfmt-core/tests/target/structs.rs rename to tests/target/structs.rs diff --git a/rustfmt-core/tests/target/trailing-comma-never.rs b/tests/target/trailing-comma-never.rs similarity index 100% rename from rustfmt-core/tests/target/trailing-comma-never.rs rename to tests/target/trailing-comma-never.rs diff --git a/rustfmt-core/tests/target/trailing_commas.rs b/tests/target/trailing_commas.rs similarity index 100% rename from rustfmt-core/tests/target/trailing_commas.rs rename to tests/target/trailing_commas.rs diff --git a/rustfmt-core/tests/target/trait.rs b/tests/target/trait.rs similarity index 100% rename from rustfmt-core/tests/target/trait.rs rename to tests/target/trait.rs diff --git a/rustfmt-core/tests/target/try-conversion.rs b/tests/target/try-conversion.rs similarity index 100% rename from rustfmt-core/tests/target/try-conversion.rs rename to tests/target/try-conversion.rs diff --git a/rustfmt-core/tests/target/tuple.rs b/tests/target/tuple.rs similarity index 100% rename from rustfmt-core/tests/target/tuple.rs rename to tests/target/tuple.rs diff --git a/rustfmt-core/tests/target/type-ascription.rs b/tests/target/type-ascription.rs similarity index 100% rename from rustfmt-core/tests/target/type-ascription.rs rename to tests/target/type-ascription.rs diff --git a/rustfmt-core/tests/target/type.rs b/tests/target/type.rs similarity index 100% rename from rustfmt-core/tests/target/type.rs rename to tests/target/type.rs diff --git a/rustfmt-core/tests/target/type_alias.rs b/tests/target/type_alias.rs similarity index 100% rename from rustfmt-core/tests/target/type_alias.rs rename to tests/target/type_alias.rs diff --git a/rustfmt-core/tests/target/unindent_if_else_cond_comment.rs b/tests/target/unindent_if_else_cond_comment.rs similarity index 100% rename from rustfmt-core/tests/target/unindent_if_else_cond_comment.rs rename to tests/target/unindent_if_else_cond_comment.rs diff --git a/rustfmt-core/tests/target/unions.rs b/tests/target/unions.rs similarity index 100% rename from rustfmt-core/tests/target/unions.rs rename to tests/target/unions.rs diff --git a/rustfmt-core/tests/target/where-clause-rfc.rs b/tests/target/where-clause-rfc.rs similarity index 100% rename from rustfmt-core/tests/target/where-clause-rfc.rs rename to tests/target/where-clause-rfc.rs diff --git a/rustfmt-core/tests/target/where-clause.rs b/tests/target/where-clause.rs similarity index 100% rename from rustfmt-core/tests/target/where-clause.rs rename to tests/target/where-clause.rs diff --git a/rustfmt-core/tests/writemode/source/fn-single-line.rs b/tests/writemode/source/fn-single-line.rs similarity index 100% rename from rustfmt-core/tests/writemode/source/fn-single-line.rs rename to tests/writemode/source/fn-single-line.rs diff --git a/rustfmt-core/tests/writemode/source/modified.rs b/tests/writemode/source/modified.rs similarity index 100% rename from rustfmt-core/tests/writemode/source/modified.rs rename to tests/writemode/source/modified.rs diff --git a/rustfmt-core/tests/writemode/target/checkstyle.xml b/tests/writemode/target/checkstyle.xml similarity index 100% rename from rustfmt-core/tests/writemode/target/checkstyle.xml rename to tests/writemode/target/checkstyle.xml diff --git a/rustfmt-core/tests/writemode/target/modified.txt b/tests/writemode/target/modified.txt similarity index 100% rename from rustfmt-core/tests/writemode/target/modified.txt rename to tests/writemode/target/modified.txt