aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ui/since_1.58
diff options
context:
space:
mode:
Diffstat (limited to '')
l---------testing/tests/ui/since_1.58/break_outside_of_loop.rs1
-rw-r--r--testing/tests/ui/since_1.58/break_outside_of_loop.stderr8
l---------testing/tests/ui/since_1.58/incorrect_path.rs1
-rw-r--r--testing/tests/ui/since_1.58/incorrect_path.stderr7
l---------testing/tests/ui/since_1.58/typo_in_keyword.rs1
-rw-r--r--testing/tests/ui/since_1.58/typo_in_keyword.stderr8
6 files changed, 26 insertions, 0 deletions
diff --git a/testing/tests/ui/since_1.58/break_outside_of_loop.rs b/testing/tests/ui/since_1.58/break_outside_of_loop.rs
new file mode 120000
index 0000000..ae7115e
--- /dev/null
+++ b/testing/tests/ui/since_1.58/break_outside_of_loop.rs
@@ -0,0 +1 @@
+../before_1.58/break_outside_of_loop.rs \ No newline at end of file
diff --git a/testing/tests/ui/since_1.58/break_outside_of_loop.stderr b/testing/tests/ui/since_1.58/break_outside_of_loop.stderr
new file mode 100644
index 0000000..8f6ba68
--- /dev/null
+++ b/testing/tests/ui/since_1.58/break_outside_of_loop.stderr
@@ -0,0 +1,8 @@
+error: problems parsing template source at row 1, column 9 near:
+ "break%}, have a parsing error!"
+ --> tests/ui/since_1.58/break_outside_of_loop.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)
diff --git a/testing/tests/ui/since_1.58/incorrect_path.rs b/testing/tests/ui/since_1.58/incorrect_path.rs
new file mode 120000
index 0000000..ee3ef39
--- /dev/null
+++ b/testing/tests/ui/since_1.58/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.58/incorrect_path.stderr b/testing/tests/ui/since_1.58/incorrect_path.stderr
new file mode 100644
index 0000000..7581a91
--- /dev/null
+++ b/testing/tests/ui/since_1.58/incorrect_path.stderr
@@ -0,0 +1,7 @@
+error: template "thisdoesnotexist.html" not found in directories ["$WORKSPACE/target/tests/askama_testing/templates"]
+ --> tests/ui/since_1.58/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)
diff --git a/testing/tests/ui/since_1.58/typo_in_keyword.rs b/testing/tests/ui/since_1.58/typo_in_keyword.rs
new file mode 120000
index 0000000..927f556
--- /dev/null
+++ b/testing/tests/ui/since_1.58/typo_in_keyword.rs
@@ -0,0 +1 @@
+../before_1.58/typo_in_keyword.rs \ No newline at end of file
diff --git a/testing/tests/ui/since_1.58/typo_in_keyword.stderr b/testing/tests/ui/since_1.58/typo_in_keyword.stderr
new file mode 100644
index 0000000..92c638d
--- /dev/null
+++ b/testing/tests/ui/since_1.58/typo_in_keyword.stderr
@@ -0,0 +1,8 @@
+error: problems parsing template source at row 1, column 26 near:
+ "endfo%}\n12345678901234567890123456789012"...
+ --> tests/ui/since_1.58/typo_in_keyword.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)