about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-09-19 10:00:29 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-09-19 10:00:29 -0700
commit04f5fe5a08988d2b8829f6a3ccc16b8dd19675b8 (patch)
treea4f520414bd92e1ed6f2bc939a189116b938e1e3 /src/libstd
parent81ee3586b5d75497af25e77756be8f629d711aaf (diff)
parentce0907e46e8e1aa23ee39f69e4f628f68bfbb0d7 (diff)
downloadrust-04f5fe5a08988d2b8829f6a3ccc16b8dd19675b8.tar.gz
rust-04f5fe5a08988d2b8829f6a3ccc16b8dd19675b8.zip
rollup merge of #17338 : nick29581/variants-namespace
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/macros.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs
index e1f2f43673f..86c03708e40 100644
--- a/src/libstd/macros.rs
+++ b/src/libstd/macros.rs
@@ -304,10 +304,10 @@ macro_rules! println(
 #[macro_export]
 macro_rules! local_data_key(
     ($name:ident: $ty:ty) => (
-        static $name: ::std::local_data::Key<$ty> = &::std::local_data::Key;
+        static $name: ::std::local_data::Key<$ty> = &::std::local_data::KeyValueKey;
     );
     (pub $name:ident: $ty:ty) => (
-        pub static $name: ::std::local_data::Key<$ty> = &::std::local_data::Key;
+        pub static $name: ::std::local_data::Key<$ty> = &::std::local_data::KeyValueKey;
     );
 )