summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/struct-default-values-and-missing-field-separator.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/ui/parser/struct-default-values-and-missing-field-separator.stderr
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/parser/struct-default-values-and-missing-field-separator.stderr')
-rw-r--r--src/test/ui/parser/struct-default-values-and-missing-field-separator.stderr92
1 files changed, 0 insertions, 92 deletions
diff --git a/src/test/ui/parser/struct-default-values-and-missing-field-separator.stderr b/src/test/ui/parser/struct-default-values-and-missing-field-separator.stderr
deleted file mode 100644
index 7f16ebcfc..000000000
--- a/src/test/ui/parser/struct-default-values-and-missing-field-separator.stderr
+++ /dev/null
@@ -1,92 +0,0 @@
-error: default values on `struct` fields aren't supported
- --> $DIR/struct-default-values-and-missing-field-separator.rs:9:16
- |
-LL | field1: i32 = 42,
- | ^^^^^ help: remove this unsupported default value
-
-error: default values on `struct` fields aren't supported
- --> $DIR/struct-default-values-and-missing-field-separator.rs:10:14
- |
-LL | field2: E = E::A,
- | ^^^^^^^ help: remove this unsupported default value
-
-error: default values on `struct` fields aren't supported
- --> $DIR/struct-default-values-and-missing-field-separator.rs:11:16
- |
-LL | field3: i32 = 1 + 2,
- | ^^^^^^^^ help: remove this unsupported default value
-
-error: default values on `struct` fields aren't supported
- --> $DIR/struct-default-values-and-missing-field-separator.rs:12:16
- |
-LL | field4: i32 = { 1 + 2 },
- | ^^^^^^^^^^^^ help: remove this unsupported default value
-
-error: default values on `struct` fields aren't supported
- --> $DIR/struct-default-values-and-missing-field-separator.rs:13:14
- |
-LL | field5: E = foo(42),
- | ^^^^^^^^^^ help: remove this unsupported default value
-
-error: default values on `struct` fields aren't supported
- --> $DIR/struct-default-values-and-missing-field-separator.rs:14:14
- |
-LL | field6: E = { foo(42) },
- | ^^^^^^^^^^^^^^ help: remove this unsupported default value
-
-error: expected `,`, or `}`, found `field2`
- --> $DIR/struct-default-values-and-missing-field-separator.rs:18:16
- |
-LL | field1: i32
- | ^ help: try adding a comma: `,`
-
-error: expected `,`, or `}`, found `field3`
- --> $DIR/struct-default-values-and-missing-field-separator.rs:19:14
- |
-LL | field2: E
- | ^ help: try adding a comma: `,`
-
-error: default values on `struct` fields aren't supported
- --> $DIR/struct-default-values-and-missing-field-separator.rs:20:16
- |
-LL | field3: i32 = 1 + 2,
- | ^^^^^^^^ help: remove this unsupported default value
-
-error: default values on `struct` fields aren't supported
- --> $DIR/struct-default-values-and-missing-field-separator.rs:21:16
- |
-LL | field4: i32 = { 1 + 2 },
- | ^^^^^^^^^^^^ help: remove this unsupported default value
-
-error: default values on `struct` fields aren't supported
- --> $DIR/struct-default-values-and-missing-field-separator.rs:22:14
- |
-LL | field5: E = foo(42),
- | ^^^^^^^^^^ help: remove this unsupported default value
-
-error: default values on `struct` fields aren't supported
- --> $DIR/struct-default-values-and-missing-field-separator.rs:23:14
- |
-LL | field6: E = { foo(42) },
- | ^^^^^^^^^^^^^^ help: remove this unsupported default value
-
-error: expected `:`, found `=`
- --> $DIR/struct-default-values-and-missing-field-separator.rs:27:12
- |
-LL | field1 = i32,
- | ^
- | |
- | expected `:`
- | help: field names and their types are separated with `:`
-
-error: expected `:`, found `;`
- --> $DIR/struct-default-values-and-missing-field-separator.rs:28:11
- |
-LL | field2; E,
- | ^
- | |
- | expected `:`
- | help: field names and their types are separated with `:`
-
-error: aborting due to 14 previous errors
-