about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2014-03-04 19:23:57 -0500
committerDaniel Micay <danielmicay@gmail.com>2014-03-04 19:37:07 -0500
commit15adaf6f3ea4b2cdab5ecf6ce319eb39d81ab64f (patch)
tree27d7f0d01df03c54dbb6f059d49e1c041ddcd225 /src/libsyntax
parent6e7f170fedd3c526a643c0b2d13863acd982be02 (diff)
downloadrust-15adaf6f3ea4b2cdab5ecf6ce319eb39d81ab64f.tar.gz
rust-15adaf6f3ea4b2cdab5ecf6ce319eb39d81ab64f.zip
mark the `map` method on Vec<T> as deprecated
This exists for the sake of compatibility during the ~[T] -> Vec<T>
transition. It will be removed in the future.
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/lib.rs1
1 files changed, 1 insertions, 0 deletions
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;