Closed as not planned
Description
rand_pcg
v0.3 was released around a year ago, yet the version on the playground is v0.2. (This is not surprising, since v0.2 was a dependency of rand
v0.7, but rand
v0.8 does not depend on rand_pcg
.)
Similar to #531, this fails:
// workaround:
// extern crate rand_0_7_3 as rand;
use rand::{Rng, SeedableRng};
fn main() {
let mut rng = rand_pcg::Pcg32::seed_from_u64(123);
println!("{}", rng.gen::<i32>());
}
The error message here is confusing.
Suggestion: either include the latest version of rand_pcg
(even though it's not in the top 100 list) or exclude all versions of rand_pcg
, because having the playground default to an outdated version is confusing.