summaryrefslogtreecommitdiffstats
path: root/vendor/proc-macro-hack/tests
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/proc-macro-hack/tests')
-rw-r--r--vendor/proc-macro-hack/tests/ui/private.stderr2
-rw-r--r--vendor/proc-macro-hack/tests/ui/unexpected-arg.stderr2
-rw-r--r--vendor/proc-macro-hack/tests/ui/unexpected.stderr2
-rw-r--r--vendor/proc-macro-hack/tests/ui/unknown-arg.stderr2
4 files changed, 4 insertions, 4 deletions
diff --git a/vendor/proc-macro-hack/tests/ui/private.stderr b/vendor/proc-macro-hack/tests/ui/private.stderr
index be794438c..d3a3ea7ed 100644
--- a/vendor/proc-macro-hack/tests/ui/private.stderr
+++ b/vendor/proc-macro-hack/tests/ui/private.stderr
@@ -1,5 +1,5 @@
error: functions tagged with `#[proc_macro_hack]` must be `pub`
- --> $DIR/private.rs:4:1
+ --> tests/ui/private.rs:4:1
|
4 | fn my_macro(input: TokenStream) -> TokenStream {
| ^^
diff --git a/vendor/proc-macro-hack/tests/ui/unexpected-arg.stderr b/vendor/proc-macro-hack/tests/ui/unexpected-arg.stderr
index 6895e82ee..f32f05a1c 100644
--- a/vendor/proc-macro-hack/tests/ui/unexpected-arg.stderr
+++ b/vendor/proc-macro-hack/tests/ui/unexpected-arg.stderr
@@ -1,5 +1,5 @@
error: unexpected argument to proc_macro_hack macro implementation; args are only accepted on the macro declaration (the `pub use`)
- --> $DIR/unexpected-arg.rs:3:19
+ --> tests/ui/unexpected-arg.rs:3:19
|
3 | #[proc_macro_hack(fake_call_site)]
| ^^^^^^^^^^^^^^
diff --git a/vendor/proc-macro-hack/tests/ui/unexpected.stderr b/vendor/proc-macro-hack/tests/ui/unexpected.stderr
index e3da97a95..60761b514 100644
--- a/vendor/proc-macro-hack/tests/ui/unexpected.stderr
+++ b/vendor/proc-macro-hack/tests/ui/unexpected.stderr
@@ -1,5 +1,5 @@
error: unexpected input to #[proc_macro_hack]
- --> $DIR/unexpected.rs:4:5
+ --> tests/ui/unexpected.rs:4:5
|
4 | pub struct What;
| ^^^^^^
diff --git a/vendor/proc-macro-hack/tests/ui/unknown-arg.stderr b/vendor/proc-macro-hack/tests/ui/unknown-arg.stderr
index ffe3705dd..772e6673d 100644
--- a/vendor/proc-macro-hack/tests/ui/unknown-arg.stderr
+++ b/vendor/proc-macro-hack/tests/ui/unknown-arg.stderr
@@ -1,5 +1,5 @@
error: expected one of: `support_nested`, `internal_macro_calls`, `fake_call_site`, `only_hack_old_rustc`
- --> $DIR/unknown-arg.rs:3:35
+ --> tests/ui/unknown-arg.rs:3:35
|
3 | #[proc_macro_hack(fake_call_site, support_nexted)]
| ^^^^^^^^^^^^^^