summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/assoc-static-syntactic-fail.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:58 +0000
commita4b7ed7a42c716ab9f05e351f003d589124fd55d (patch)
treeb620cd3f223850b28716e474e80c58059dca5dd4 /src/test/ui/parser/assoc-static-syntactic-fail.stderr
parentAdding upstream version 1.67.1+dfsg1. (diff)
downloadrustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.tar.xz
rustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.zip
Adding upstream version 1.68.2+dfsg1.upstream/1.68.2+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/parser/assoc-static-syntactic-fail.stderr')
-rw-r--r--src/test/ui/parser/assoc-static-syntactic-fail.stderr122
1 files changed, 0 insertions, 122 deletions
diff --git a/src/test/ui/parser/assoc-static-syntactic-fail.stderr b/src/test/ui/parser/assoc-static-syntactic-fail.stderr
deleted file mode 100644
index e97236145..000000000
--- a/src/test/ui/parser/assoc-static-syntactic-fail.stderr
+++ /dev/null
@@ -1,122 +0,0 @@
-error: associated `static` items are not allowed
- --> $DIR/assoc-static-syntactic-fail.rs:7:5
- |
-LL | static IA: u8 = 0;
- | ^^^^^^^^^^^^^^^^^^
-
-error: associated `static` items are not allowed
- --> $DIR/assoc-static-syntactic-fail.rs:8:5
- |
-LL | static IB: u8;
- | ^^^^^^^^^^^^^^
-
-error: a static item cannot be `default`
- --> $DIR/assoc-static-syntactic-fail.rs:9:5
- |
-LL | default static IC: u8 = 0;
- | ^^^^^^^ `default` because of this
- |
- = note: only associated `fn`, `const`, and `type` items can be `default`
-
-error: associated `static` items are not allowed
- --> $DIR/assoc-static-syntactic-fail.rs:9:5
- |
-LL | default static IC: u8 = 0;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-error: a static item cannot be `default`
- --> $DIR/assoc-static-syntactic-fail.rs:11:16
- |
-LL | pub(crate) default static ID: u8;
- | ^^^^^^^ `default` because of this
- |
- = note: only associated `fn`, `const`, and `type` items can be `default`
-
-error: associated `static` items are not allowed
- --> $DIR/assoc-static-syntactic-fail.rs:11:5
- |
-LL | pub(crate) default static ID: u8;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-error: associated `static` items are not allowed
- --> $DIR/assoc-static-syntactic-fail.rs:17:5
- |
-LL | static TA: u8 = 0;
- | ^^^^^^^^^^^^^^^^^^
-
-error: associated `static` items are not allowed
- --> $DIR/assoc-static-syntactic-fail.rs:18:5
- |
-LL | static TB: u8;
- | ^^^^^^^^^^^^^^
-
-error: a static item cannot be `default`
- --> $DIR/assoc-static-syntactic-fail.rs:19:5
- |
-LL | default static TC: u8 = 0;
- | ^^^^^^^ `default` because of this
- |
- = note: only associated `fn`, `const`, and `type` items can be `default`
-
-error: associated `static` items are not allowed
- --> $DIR/assoc-static-syntactic-fail.rs:19:5
- |
-LL | default static TC: u8 = 0;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-error: a static item cannot be `default`
- --> $DIR/assoc-static-syntactic-fail.rs:21:16
- |
-LL | pub(crate) default static TD: u8;
- | ^^^^^^^ `default` because of this
- |
- = note: only associated `fn`, `const`, and `type` items can be `default`
-
-error: associated `static` items are not allowed
- --> $DIR/assoc-static-syntactic-fail.rs:21:5
- |
-LL | pub(crate) default static TD: u8;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-error: associated `static` items are not allowed
- --> $DIR/assoc-static-syntactic-fail.rs:27:5
- |
-LL | static TA: u8 = 0;
- | ^^^^^^^^^^^^^^^^^^
-
-error: associated `static` items are not allowed
- --> $DIR/assoc-static-syntactic-fail.rs:28:5
- |
-LL | static TB: u8;
- | ^^^^^^^^^^^^^^
-
-error: a static item cannot be `default`
- --> $DIR/assoc-static-syntactic-fail.rs:29:5
- |
-LL | default static TC: u8 = 0;
- | ^^^^^^^ `default` because of this
- |
- = note: only associated `fn`, `const`, and `type` items can be `default`
-
-error: associated `static` items are not allowed
- --> $DIR/assoc-static-syntactic-fail.rs:29:5
- |
-LL | default static TC: u8 = 0;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-error: a static item cannot be `default`
- --> $DIR/assoc-static-syntactic-fail.rs:31:9
- |
-LL | pub default static TD: u8;
- | ^^^^^^^ `default` because of this
- |
- = note: only associated `fn`, `const`, and `type` items can be `default`
-
-error: associated `static` items are not allowed
- --> $DIR/assoc-static-syntactic-fail.rs:31:5
- |
-LL | pub default static TD: u8;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-error: aborting due to 18 previous errors
-