From df1ac7aa63ea89a067c57663eab035f7b83f6933 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Tue, 3 Feb 2015 20:11:38 +1100 Subject: Deprecate in-tree `rand`, `std::rand` and `#[derive(Rand)]`. Use the crates.io crate `rand` (version 0.1 should be a drop in replacement for `std::rand`) and `rand_macros` (`#[derive_Rand]` should be a drop-in replacement). [breaking-change] --- src/libstd/num/strconv.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstd/num') diff --git a/src/libstd/num/strconv.rs b/src/libstd/num/strconv.rs index 1d3bf484edb..9c4741b3ce3 100644 --- a/src/libstd/num/strconv.rs +++ b/src/libstd/num/strconv.rs @@ -459,6 +459,7 @@ mod tests { #[cfg(test)] mod bench { + #![allow(deprecated)] // rand extern crate test; mod uint { -- cgit 1.4.1-3-g733a5