From 15adaf6f3ea4b2cdab5ecf6ce319eb39d81ab64f Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 4 Mar 2014 19:23:57 -0500 Subject: mark the `map` method on Vec as deprecated This exists for the sake of compatibility during the ~[T] -> Vec transition. It will be removed in the future. --- src/libsyntax/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libsyntax') diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index 42c9ab461aa..61793957d92 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -30,6 +30,7 @@ This API is completely unstable and subject to change. #[allow(unknown_features)];// Note: remove it after a snapshot. #[feature(quote)]; +#[allow(deprecated)]; #[deny(non_camel_case_types)]; extern crate serialize; -- cgit 1.4.1-3-g733a5