-
Notifications
You must be signed in to change notification settings - Fork 159
Closed
Description
Not exactly sure if this belongs here or on rust-random/rand. Just tried to run cargo test with quickcheck = "0.8.0" in [dev-dependencies], without using the macros or importing them. This is what I get:
[...]
error[E0277]: the trait bound `rand_xorshift::XorShiftRng: rand_core::SeedableRng` is not satisfied
--> /home/user/.cargo/registry/src/mygithub.libinneed.workers.dev-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:242:5
|
242 | / fn from_seed(seed: Self::Seed) -> Self {
243 | | XorShiftRng(::rand_xorshift::XorShiftRng::from_seed(seed))
244 | | }
| |_____^ the trait `rand_core::SeedableRng` is not implemented for `rand_xorshift::XorShiftRng`
error[E0277]: the trait bound `rand_hc::Hc128Rng: rand_core::SeedableRng` is not satisfied
--> /home/user/.cargo/registry/src/mygithub.libinneed.workers.dev-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:280:5
|
280 | type Seed = <rngs::StdRng as SeedableRng>::Seed;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Rng`
error[E0277]: the trait bound `rand_hc::Hc128Rng: rand_core::SeedableRng` is not satisfied
--> /home/user/.cargo/registry/src/mygithub.libinneed.workers.dev-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 34 previous errors
For more information about this error, try `rustc --explain E0277`.
error: Could not compile `rand`.
Metadata
Metadata
Assignees
Labels
No labels