From c31fe5f3fc313ca539ff1f1c92cc1337a472e809 Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Fri, 2 Jul 2021 15:54:17 +0200 Subject: Fix expected error message for missing file rust-lang/rust#82069 made error message that stem macro invocations more verbose. Since Rust 1.54 (currently in beta) the message includes the name of the offending macro. This PR uses version_check to select the appropriate expected error message. --- testing/tests/ui/incorrect_path.rs | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 testing/tests/ui/incorrect_path.rs (limited to 'testing/tests/ui/incorrect_path.rs') diff --git a/testing/tests/ui/incorrect_path.rs b/testing/tests/ui/incorrect_path.rs deleted file mode 100644 index f0c85cf..0000000 --- a/testing/tests/ui/incorrect_path.rs +++ /dev/null @@ -1,8 +0,0 @@ -use askama::Template; - -#[derive(Template)] -#[template(path = "thisdoesnotexist.html")] -struct MyTemplate; - -fn main() { -} -- cgit