Skip to content

Commit

Permalink
fix: specify required trybuild patch version (#6333)
Browse files Browse the repository at this point in the history
# 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`.
  • Loading branch information
dataphract committed Oct 25, 2022
1 parent c245b17 commit ee2c5a7
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 ee2c5a7

Please sign in to comment.