diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
commit | 698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch) | |
tree | 173a775858bd501c378080a10dca74132f05bc50 /src/tools/rustfmt/tests/config | |
parent | Initial commit. (diff) | |
download | rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip |
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/tools/rustfmt/tests/config')
6 files changed, 17 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/config/disable_all_formatting.toml b/src/tools/rustfmt/tests/config/disable_all_formatting.toml new file mode 100644 index 000000000..c7ad93baf --- /dev/null +++ b/src/tools/rustfmt/tests/config/disable_all_formatting.toml @@ -0,0 +1 @@ +disable_all_formatting = true diff --git a/src/tools/rustfmt/tests/config/issue-1111.toml b/src/tools/rustfmt/tests/config/issue-1111.toml new file mode 100644 index 000000000..44148a2d3 --- /dev/null +++ b/src/tools/rustfmt/tests/config/issue-1111.toml @@ -0,0 +1 @@ +reorder_imports = true diff --git a/src/tools/rustfmt/tests/config/issue-2641.toml b/src/tools/rustfmt/tests/config/issue-2641.toml new file mode 100644 index 000000000..11c9dca8a --- /dev/null +++ b/src/tools/rustfmt/tests/config/issue-2641.toml @@ -0,0 +1 @@ +newline_style = "Windows" diff --git a/src/tools/rustfmt/tests/config/issue-3779.toml b/src/tools/rustfmt/tests/config/issue-3779.toml new file mode 100644 index 000000000..6ca52aee3 --- /dev/null +++ b/src/tools/rustfmt/tests/config/issue-3779.toml @@ -0,0 +1,3 @@ +ignore = [ + "tests/**/issue-3779/ice.rs" +] diff --git a/src/tools/rustfmt/tests/config/skip_children.toml b/src/tools/rustfmt/tests/config/skip_children.toml new file mode 100644 index 000000000..f52930d50 --- /dev/null +++ b/src/tools/rustfmt/tests/config/skip_children.toml @@ -0,0 +1 @@ +skip_children = true diff --git a/src/tools/rustfmt/tests/config/small_tabs.toml b/src/tools/rustfmt/tests/config/small_tabs.toml new file mode 100644 index 000000000..c3cfd3431 --- /dev/null +++ b/src/tools/rustfmt/tests/config/small_tabs.toml @@ -0,0 +1,10 @@ +max_width = 100 +comment_width = 80 +tab_spaces = 2 +newline_style = "Unix" +brace_style = "SameLineWhere" +fn_args_layout = "Tall" +trailing_comma = "Vertical" +indent_style = "Block" +reorder_imports = false +format_strings = true |