aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ui/before_1_54
diff options
context:
space:
mode:
authorLibravatar René Kijewski <kijewski@library.vetmed.fu-berlin.de>2021-11-30 13:54:29 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2021-12-01 01:13:09 -0800
commit671bc7f32fd150f04793d8d5dbe806e9d4cfe669 (patch)
treeae8db79ee0d9bd45de13b08972a046296dc1775b /testing/tests/ui/before_1_54
parent3d82b59a2ae58e9c438315273f204fc2783eb0d3 (diff)
downloadaskama-671bc7f32fd150f04793d8d5dbe806e9d4cfe669.tar.gz
askama-671bc7f32fd150f04793d8d5dbe806e9d4cfe669.tar.bz2
askama-671bc7f32fd150f04793d8d5dbe806e9d4cfe669.zip
Fix tests for new error messages in Rust nightly
Diffstat (limited to 'testing/tests/ui/before_1_54')
-rw-r--r--testing/tests/ui/before_1_54/incorrect_path.rs8
-rw-r--r--testing/tests/ui/before_1_54/incorrect_path.stderr7
2 files changed, 0 insertions, 15 deletions
diff --git a/testing/tests/ui/before_1_54/incorrect_path.rs b/testing/tests/ui/before_1_54/incorrect_path.rs
deleted file mode 100644
index f0c85cf..0000000
--- a/testing/tests/ui/before_1_54/incorrect_path.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-use askama::Template;
-
-#[derive(Template)]
-#[template(path = "thisdoesnotexist.html")]
-struct MyTemplate;
-
-fn main() {
-}
diff --git a/testing/tests/ui/before_1_54/incorrect_path.stderr b/testing/tests/ui/before_1_54/incorrect_path.stderr
deleted file mode 100644
index ea97149..0000000
--- a/testing/tests/ui/before_1_54/incorrect_path.stderr
+++ /dev/null
@@ -1,7 +0,0 @@
-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 a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)