diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:41:41 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:41:41 +0000 |
commit | 10ee2acdd26a7f1298c6f6d6b7af9b469fe29b87 (patch) | |
tree | bdffd5d80c26cf4a7a518281a204be1ace85b4c1 /vendor/toml_edit/tests/fixtures/invalid/inline-table | |
parent | Releasing progress-linux version 1.70.0+dfsg1-9~progress7.99u1. (diff) | |
download | rustc-10ee2acdd26a7f1298c6f6d6b7af9b469fe29b87.tar.xz rustc-10ee2acdd26a7f1298c6f6d6b7af9b469fe29b87.zip |
Merging upstream version 1.70.0+dfsg2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/toml_edit/tests/fixtures/invalid/inline-table')
11 files changed, 64 insertions, 0 deletions
diff --git a/vendor/toml_edit/tests/fixtures/invalid/inline-table/add.stderr b/vendor/toml_edit/tests/fixtures/invalid/inline-table/add.stderr new file mode 100644 index 000000000..4108142dc --- /dev/null +++ b/vendor/toml_edit/tests/fixtures/invalid/inline-table/add.stderr @@ -0,0 +1,6 @@ +TOML parse error at line 3, column 1 + | +3 | [a.b] + | ^ +invalid table header +dotted key `a` attempted to extend non-table type (inline table) diff --git a/vendor/toml_edit/tests/fixtures/invalid/inline-table/double-comma.stderr b/vendor/toml_edit/tests/fixtures/invalid/inline-table/double-comma.stderr new file mode 100644 index 000000000..ab4772b5a --- /dev/null +++ b/vendor/toml_edit/tests/fixtures/invalid/inline-table/double-comma.stderr @@ -0,0 +1,6 @@ +TOML parse error at line 1, column 9 + | +1 | t = {x=3,,y=4} + | ^ +invalid inline table +expected `}` diff --git a/vendor/toml_edit/tests/fixtures/invalid/inline-table/duplicate-key.stderr b/vendor/toml_edit/tests/fixtures/invalid/inline-table/duplicate-key.stderr new file mode 100644 index 000000000..acee967ac --- /dev/null +++ b/vendor/toml_edit/tests/fixtures/invalid/inline-table/duplicate-key.stderr @@ -0,0 +1,5 @@ +TOML parse error at line 2, column 4 + | +2 | a={b=1, b=2} + | ^ +duplicate key `b` diff --git a/vendor/toml_edit/tests/fixtures/invalid/inline-table/empty.stderr b/vendor/toml_edit/tests/fixtures/invalid/inline-table/empty.stderr new file mode 100644 index 000000000..0fcfd34f6 --- /dev/null +++ b/vendor/toml_edit/tests/fixtures/invalid/inline-table/empty.stderr @@ -0,0 +1,6 @@ +TOML parse error at line 1, column 6 + | +1 | t = {,} + | ^ +invalid inline table +expected `}` diff --git a/vendor/toml_edit/tests/fixtures/invalid/inline-table/linebreak-1.stderr b/vendor/toml_edit/tests/fixtures/invalid/inline-table/linebreak-1.stderr new file mode 100644 index 000000000..ed67c3ac7 --- /dev/null +++ b/vendor/toml_edit/tests/fixtures/invalid/inline-table/linebreak-1.stderr @@ -0,0 +1,6 @@ +TOML parse error at line 3, column 18 + | +3 | simple = { a = 1 + | ^ +invalid inline table +expected `}` diff --git a/vendor/toml_edit/tests/fixtures/invalid/inline-table/linebreak-2.stderr b/vendor/toml_edit/tests/fixtures/invalid/inline-table/linebreak-2.stderr new file mode 100644 index 000000000..a81575846 --- /dev/null +++ b/vendor/toml_edit/tests/fixtures/invalid/inline-table/linebreak-2.stderr @@ -0,0 +1,6 @@ +TOML parse error at line 1, column 9 + | +1 | t = {a=1, + | ^ +invalid inline table +expected `}` diff --git a/vendor/toml_edit/tests/fixtures/invalid/inline-table/linebreak-3.stderr b/vendor/toml_edit/tests/fixtures/invalid/inline-table/linebreak-3.stderr new file mode 100644 index 000000000..4aff61b76 --- /dev/null +++ b/vendor/toml_edit/tests/fixtures/invalid/inline-table/linebreak-3.stderr @@ -0,0 +1,6 @@ +TOML parse error at line 1, column 9 + | +1 | t = {a=1 + | ^ +invalid inline table +expected `}` diff --git a/vendor/toml_edit/tests/fixtures/invalid/inline-table/linebreak-4.stderr b/vendor/toml_edit/tests/fixtures/invalid/inline-table/linebreak-4.stderr new file mode 100644 index 000000000..658456b86 --- /dev/null +++ b/vendor/toml_edit/tests/fixtures/invalid/inline-table/linebreak-4.stderr @@ -0,0 +1,6 @@ +TOML parse error at line 1, column 14 + | +1 | json_like = { + | ^ +invalid inline table +expected `}` diff --git a/vendor/toml_edit/tests/fixtures/invalid/inline-table/no-comma.stderr b/vendor/toml_edit/tests/fixtures/invalid/inline-table/no-comma.stderr new file mode 100644 index 000000000..89552182f --- /dev/null +++ b/vendor/toml_edit/tests/fixtures/invalid/inline-table/no-comma.stderr @@ -0,0 +1,6 @@ +TOML parse error at line 1, column 12 + | +1 | t = {x = 3 y = 4} + | ^ +invalid inline table +expected `}` diff --git a/vendor/toml_edit/tests/fixtures/invalid/inline-table/overwrite.stderr b/vendor/toml_edit/tests/fixtures/invalid/inline-table/overwrite.stderr new file mode 100644 index 000000000..5c48ee223 --- /dev/null +++ b/vendor/toml_edit/tests/fixtures/invalid/inline-table/overwrite.stderr @@ -0,0 +1,5 @@ +TOML parse error at line 3, column 1 + | +3 | a={} + | ^ +duplicate key `a` in document root diff --git a/vendor/toml_edit/tests/fixtures/invalid/inline-table/trailing-comma.stderr b/vendor/toml_edit/tests/fixtures/invalid/inline-table/trailing-comma.stderr new file mode 100644 index 000000000..b17fca503 --- /dev/null +++ b/vendor/toml_edit/tests/fixtures/invalid/inline-table/trailing-comma.stderr @@ -0,0 +1,6 @@ +TOML parse error at line 3, column 18 + | +3 | abc = { abc = 123, } + | ^ +invalid inline table +expected `}` |