summaryrefslogtreecommitdiffstats
path: root/vendor/rustversion/tests/ui
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
commitdc0db358abe19481e475e10c32149b53370f1a1c (patch)
treeab8ce99c4b255ce46f99ef402c27916055b899ee /vendor/rustversion/tests/ui
parentReleasing progress-linux version 1.71.1+dfsg1-2~progress7.99u1. (diff)
downloadrustc-dc0db358abe19481e475e10c32149b53370f1a1c.tar.xz
rustc-dc0db358abe19481e475e10c32149b53370f1a1c.zip
Merging upstream version 1.72.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/rustversion/tests/ui')
-rw-r--r--vendor/rustversion/tests/ui/bad-bound.stderr4
-rw-r--r--vendor/rustversion/tests/ui/bad-date.stderr4
-rw-r--r--vendor/rustversion/tests/ui/bad-not.stderr4
-rw-r--r--vendor/rustversion/tests/ui/bad-version.stderr4
-rw-r--r--vendor/rustversion/tests/ui/const-not-fn.stderr2
5 files changed, 9 insertions, 9 deletions
diff --git a/vendor/rustversion/tests/ui/bad-bound.stderr b/vendor/rustversion/tests/ui/bad-bound.stderr
index 2c56acbdb..77956c66d 100644
--- a/vendor/rustversion/tests/ui/bad-bound.stderr
+++ b/vendor/rustversion/tests/ui/bad-bound.stderr
@@ -1,11 +1,11 @@
error: expected rustc release number like 1.31, or nightly date like 2020-02-25
- --> $DIR/bad-bound.rs:1:22
+ --> tests/ui/bad-bound.rs:1:22
|
1 | #[rustversion::since(stable)]
| ^^^^^^
error: expected rustc release number like 1.31, or nightly date like 2020-02-25
- --> $DIR/bad-bound.rs:4:26
+ --> tests/ui/bad-bound.rs:4:26
|
4 | #[rustversion::any(since(stable))]
| ^^^^^^
diff --git a/vendor/rustversion/tests/ui/bad-date.stderr b/vendor/rustversion/tests/ui/bad-date.stderr
index c523ccc02..378b00e0d 100644
--- a/vendor/rustversion/tests/ui/bad-date.stderr
+++ b/vendor/rustversion/tests/ui/bad-date.stderr
@@ -1,11 +1,11 @@
error: expected nightly date, like 2020-02-25
- --> $DIR/bad-date.rs:1:24
+ --> tests/ui/bad-date.rs:1:24
|
1 | #[rustversion::nightly(stable)]
| ^^^^^^
error: expected nightly date, like 2020-02-25
- --> $DIR/bad-date.rs:4:28
+ --> tests/ui/bad-date.rs:4:28
|
4 | #[rustversion::any(nightly(stable))]
| ^^^^^^
diff --git a/vendor/rustversion/tests/ui/bad-not.stderr b/vendor/rustversion/tests/ui/bad-not.stderr
index bfe239b2e..2b0c69933 100644
--- a/vendor/rustversion/tests/ui/bad-not.stderr
+++ b/vendor/rustversion/tests/ui/bad-not.stderr
@@ -1,11 +1,11 @@
error: expected `(` after `not`
- --> $DIR/bad-not.rs:1:20
+ --> tests/ui/bad-not.rs:1:20
|
1 | #[rustversion::any(not)]
| ^^^
error: expected `(`
- --> $DIR/bad-not.rs:4:23
+ --> tests/ui/bad-not.rs:4:23
|
4 | #[rustversion::any(not, not)]
| ^
diff --git a/vendor/rustversion/tests/ui/bad-version.stderr b/vendor/rustversion/tests/ui/bad-version.stderr
index 5f7a01fac..bf3f144b1 100644
--- a/vendor/rustversion/tests/ui/bad-version.stderr
+++ b/vendor/rustversion/tests/ui/bad-version.stderr
@@ -1,11 +1,11 @@
error: expected rustc release number, like 1.31
- --> $DIR/bad-version.rs:1:23
+ --> tests/ui/bad-version.rs:1:23
|
1 | #[rustversion::stable(nightly)]
| ^^^^^^^
error: expected rustc release number, like 1.31
- --> $DIR/bad-version.rs:4:27
+ --> tests/ui/bad-version.rs:4:27
|
4 | #[rustversion::any(stable(nightly))]
| ^^^^^^^
diff --git a/vendor/rustversion/tests/ui/const-not-fn.stderr b/vendor/rustversion/tests/ui/const-not-fn.stderr
index 7371ff289..d3cb4aa67 100644
--- a/vendor/rustversion/tests/ui/const-not-fn.stderr
+++ b/vendor/rustversion/tests/ui/const-not-fn.stderr
@@ -1,5 +1,5 @@
error: only allowed on a fn item
- --> $DIR/const-not-fn.rs:1:28
+ --> tests/ui/const-not-fn.rs:1:28
|
1 | #[rustversion::attr(all(), const)]
| ^^^^^