From a6f6a8f6e2023a53e39fd7c125077756eba40477 Mon Sep 17 00:00:00 2001 From: dataphract Date: Tue, 25 Oct 2022 10:21:31 +0000 Subject: [PATCH] fix: specify required trybuild patch version (#6333) # Objective This is a follow-up to #6317, which makes use of a feature of the newest `trybuild` version, `1.0.71`, but does not specify the new patch version in `bevy_ecs_compile_fail_tests/Cargo.toml`. The PR passed CI because CI downloaded the latest `trybuild` version satisfying the dependency specification. However, Cargo will not know an update is required if a user already has a `^1.0` version of `trybuild` cached locally, which causes the new `$N` syntax to fail the tests. ## Solution Updated the `trybuild` requirement to `1.0.71`. --- crates/bevy_ecs_compile_fail_tests/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs_compile_fail_tests/Cargo.toml b/crates/bevy_ecs_compile_fail_tests/Cargo.toml index e48c4c03e3..2e1438f879 100644 --- a/crates/bevy_ecs_compile_fail_tests/Cargo.toml +++ b/crates/bevy_ecs_compile_fail_tests/Cargo.toml @@ -10,4 +10,4 @@ publish = false [dev-dependencies] bevy_ecs = { path = "../bevy_ecs" } -trybuild = "1.0" +trybuild = "1.0.71"