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/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'testing/Cargo.toml') diff --git a/testing/Cargo.toml b/testing/Cargo.toml index 0fcee8c..d676bef 100644 --- a/testing/Cargo.toml +++ b/testing/Cargo.toml @@ -16,6 +16,7 @@ serde_json = { version = "1.0", optional = true } [dev-dependencies] criterion = "0.3" trybuild = "1.0" +version_check = "0.9" [[bench]] name = "all" -- cgit