-
-
Notifications
You must be signed in to change notification settings - Fork 490
Closed
Description
Have a Cargo.toml like that,
[dependencies]
rand = "0.6.5"
rand_core = "0.4.0"cargo build runs as expected.
After a cargo update -p rand_core:0.3.1 --precise 0.3.0 though, cargo build fails with:
error[E0277]: the trait bound `rand_hc::Hc128Rng: rand_core::SeedableRng` is not satisfied
--> /home/eijebong/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:282:5
|
282 | / fn from_seed(seed: Self::Seed) -> Self {
283 | | StdRng(rngs::StdRng::from_seed(seed))
284 | | }
| |_____^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Rng`
error: aborting due to 31 previous errors
rand_core 0.4 should probably be updated to depend on rand_core 0.3.1 at least and released as 0.4.1 (might be worth to yank 0.4.0 after that).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels