Skip to content

Commit

Permalink
fix: specify required trybuild patch version (bevyengine#6333)
Browse files Browse the repository at this point in the history
# Objective

This is a follow-up to bevyengine#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`.
  • Loading branch information
dataphract authored and ItsDoot committed Feb 1, 2023
1 parent 6040d73 commit f2019f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs_compile_fail_tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ publish = false

[dev-dependencies]
bevy_ecs = { path = "../bevy_ecs" }
trybuild = "1.0"
trybuild = "1.0.71"

0 comments on commit f2019f1

Please sign in to comment.