From 1920b694aada79fff34a96e531531f0ef585858a Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 6 Jul 2023 15:48:44 -0700 Subject: [PATCH] Declare required automod dev-dependency 1.0.0 does not work with workspaces. error: No such file or directory (os error 2) --> test_suite/tests/regression.rs:2:5 | 2 | automod::dir!("tests/regression"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the macro `automod::dir` (in Nightly builds, run with -Z macro-backtrace for more info) --- test_suite/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_suite/Cargo.toml b/test_suite/Cargo.toml index 656f5ca7..0213f33a 100644 --- a/test_suite/Cargo.toml +++ b/test_suite/Cargo.toml @@ -12,7 +12,7 @@ unstable = ["serde/unstable"] serde = { path = "../serde" } [dev-dependencies] -automod = "1.0" +automod = "1.0.1" fnv = "1.0" rustversion = "1.0" serde = { path = "../serde", features = ["rc", "derive"] }