Not sure if this is a bug or desired (non documented) behavior: This code will panic with the latest rand 0.5.0-pre.2: ```rust use rand::{thread_rng, Rng}; let mut a: Vec<i32> = Vec::new(); thread_rng().fill(&mut a[..]); ```