From 671bc7f32fd150f04793d8d5dbe806e9d4cfe669 Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Tue, 30 Nov 2021 13:54:29 +0100 Subject: Fix tests for new error messages in Rust nightly --- testing/tests/ui/before_1_54/incorrect_path.rs | 8 -------- testing/tests/ui/before_1_54/incorrect_path.stderr | 7 ------- 2 files changed, 15 deletions(-) delete mode 100644 testing/tests/ui/before_1_54/incorrect_path.rs delete mode 100644 testing/tests/ui/before_1_54/incorrect_path.stderr (limited to 'testing/tests/ui/before_1_54') 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) -- cgit