about summary refs log tree commit diff
path: root/src/libsyntax/lib.rs
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2018-11-07 10:08:41 +0100
committerOliver Scherer <github35764891676564198441@oli-obk.de>2018-11-12 10:29:53 +0100
commit39a0969e64c06e7c6e5447b5633b02e4e4e931df (patch)
treec7116613324f2ca4f3b54a21803f6d6a5cb63c9d /src/libsyntax/lib.rs
parentd1d79ae3ad36e82e2be33bea108d6a4e98ddce0b (diff)
downloadrust-39a0969e64c06e7c6e5447b5633b02e4e4e931df.tar.gz
rust-39a0969e64c06e7c6e5447b5633b02e4e4e931df.zip
Make `NodeId` a `newtype_index` to enable niche optimizations
Diffstat (limited to 'src/libsyntax/lib.rs')
-rw-r--r--src/libsyntax/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs
index e9a6535cba1..9bbd59e09be 100644
--- a/src/libsyntax/lib.rs
+++ b/src/libsyntax/lib.rs
@@ -26,6 +26,7 @@
 #![feature(rustc_diagnostic_macros)]
 #![feature(slice_sort_by_cached_key)]
 #![feature(str_escape)]
+#![feature(step_trait)]
 #![feature(try_trait)]
 #![feature(unicode_internals)]
 
@@ -37,7 +38,7 @@ extern crate serialize;
 #[macro_use] extern crate log;
 pub extern crate rustc_errors as errors;
 extern crate syntax_pos;
-extern crate rustc_data_structures;
+#[macro_use] extern crate rustc_data_structures;
 extern crate rustc_target;
 #[macro_use] extern crate scoped_tls;
 #[macro_use]