aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ui
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ui')
-rw-r--r--testing/tests/ui/before_1_54/incorrect_path.rs (renamed from testing/tests/ui/incorrect_path.rs)0
-rw-r--r--testing/tests/ui/before_1_54/incorrect_path.stderr (renamed from testing/tests/ui/incorrect_path.stderr)0
l---------testing/tests/ui/since_1_54/incorrect_path.rs1
-rw-r--r--testing/tests/ui/since_1_54/incorrect_path.stderr7
4 files changed, 8 insertions, 0 deletions
diff --git a/testing/tests/ui/incorrect_path.rs b/testing/tests/ui/before_1_54/incorrect_path.rs
index f0c85cf..f0c85cf 100644
--- a/testing/tests/ui/incorrect_path.rs
+++ b/testing/tests/ui/before_1_54/incorrect_path.rs
diff --git a/testing/tests/ui/incorrect_path.stderr b/testing/tests/ui/before_1_54/incorrect_path.stderr
index ea97149..ea97149 100644
--- a/testing/tests/ui/incorrect_path.stderr
+++ b/testing/tests/ui/before_1_54/incorrect_path.stderr
diff --git a/testing/tests/ui/since_1_54/incorrect_path.rs b/testing/tests/ui/since_1_54/incorrect_path.rs
new file mode 120000
index 0000000..224f517
--- /dev/null
+++ b/testing/tests/ui/since_1_54/incorrect_path.rs
@@ -0,0 +1 @@
+../before_1_54/incorrect_path.rs \ No newline at end of file
diff --git a/testing/tests/ui/since_1_54/incorrect_path.stderr b/testing/tests/ui/since_1_54/incorrect_path.stderr
new file mode 100644
index 0000000..e3d7ca4
--- /dev/null
+++ b/testing/tests/ui/since_1_54/incorrect_path.stderr
@@ -0,0 +1,7 @@
+error: template "thisdoesnotexist.html" not found in directories ["$WORKSPACE/target/tests/askama_testing/templates"]
+ --> $DIR/incorrect_path.rs:3:10
+ |
+3 | #[derive(Template)]
+ | ^^^^^^^^
+ |
+ = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info)