summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-custom_attribute.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:03 +0000
commit64d98f8ee037282c35007b64c2649055c56af1db (patch)
tree5492bcf97fce41ee1c0b1cc2add283f3e66cdab0 /tests/ui/feature-gates/feature-gate-custom_attribute.stderr
parentAdding debian version 1.67.1+dfsg1-1. (diff)
downloadrustc-64d98f8ee037282c35007b64c2649055c56af1db.tar.xz
rustc-64d98f8ee037282c35007b64c2649055c56af1db.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/feature-gates/feature-gate-custom_attribute.stderr')
-rw-r--r--tests/ui/feature-gates/feature-gate-custom_attribute.stderr80
1 files changed, 80 insertions, 0 deletions
diff --git a/tests/ui/feature-gates/feature-gate-custom_attribute.stderr b/tests/ui/feature-gates/feature-gate-custom_attribute.stderr
new file mode 100644
index 000000000..b7c45ec1f
--- /dev/null
+++ b/tests/ui/feature-gates/feature-gate-custom_attribute.stderr
@@ -0,0 +1,80 @@
+error: cannot find attribute `fake_attr` in this scope
+ --> $DIR/feature-gate-custom_attribute.rs:3:3
+ |
+LL | #[fake_attr]
+ | ^^^^^^^^^
+
+error: cannot find attribute `fake_attr` in this scope
+ --> $DIR/feature-gate-custom_attribute.rs:4:3
+ |
+LL | #[fake_attr(100)]
+ | ^^^^^^^^^
+
+error: cannot find attribute `fake_attr` in this scope
+ --> $DIR/feature-gate-custom_attribute.rs:5:3
+ |
+LL | #[fake_attr(1, 2, 3)]
+ | ^^^^^^^^^
+
+error: cannot find attribute `fake_attr` in this scope
+ --> $DIR/feature-gate-custom_attribute.rs:6:3
+ |
+LL | #[fake_attr("hello")]
+ | ^^^^^^^^^
+
+error: cannot find attribute `fake_attr` in this scope
+ --> $DIR/feature-gate-custom_attribute.rs:7:3
+ |
+LL | #[fake_attr(name = "hello")]
+ | ^^^^^^^^^
+
+error: cannot find attribute `fake_attr` in this scope
+ --> $DIR/feature-gate-custom_attribute.rs:8:3
+ |
+LL | #[fake_attr(1, "hi", key = 12, true, false)]
+ | ^^^^^^^^^
+
+error: cannot find attribute `fake_attr` in this scope
+ --> $DIR/feature-gate-custom_attribute.rs:9:3
+ |
+LL | #[fake_attr(key = "hello", val = 10)]
+ | ^^^^^^^^^
+
+error: cannot find attribute `fake_attr` in this scope
+ --> $DIR/feature-gate-custom_attribute.rs:10:3
+ |
+LL | #[fake_attr(key("hello"), val(10))]
+ | ^^^^^^^^^
+
+error: cannot find attribute `fake_attr` in this scope
+ --> $DIR/feature-gate-custom_attribute.rs:11:3
+ |
+LL | #[fake_attr(enabled = true, disabled = false)]
+ | ^^^^^^^^^
+
+error: cannot find attribute `fake_attr` in this scope
+ --> $DIR/feature-gate-custom_attribute.rs:12:3
+ |
+LL | #[fake_attr(true)]
+ | ^^^^^^^^^
+
+error: cannot find attribute `fake_attr` in this scope
+ --> $DIR/feature-gate-custom_attribute.rs:13:3
+ |
+LL | #[fake_attr(pi = 3.14159)]
+ | ^^^^^^^^^
+
+error: cannot find attribute `fake_attr` in this scope
+ --> $DIR/feature-gate-custom_attribute.rs:14:3
+ |
+LL | #[fake_attr(b"hi")]
+ | ^^^^^^^^^
+
+error: cannot find attribute `fake_doc` in this scope
+ --> $DIR/feature-gate-custom_attribute.rs:15:3
+ |
+LL | #[fake_doc(r"doc")]
+ | ^^^^^^^^
+
+error: aborting due to 13 previous errors
+