about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/lib.rs
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-06-01 10:47:39 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-06-08 19:24:17 +0200
commit86c2d1a2a7cb98bf5ff75e8236dea924c7a12638 (patch)
treee37916142c9a3ceeff6fcbe1bd8cb13e459d037c /compiler/rustc_interface/src/lib.rs
parent36bdfdc411c5d1fc6c83498f406f2191273e0833 (diff)
downloadrust-86c2d1a2a7cb98bf5ff75e8236dea924c7a12638.tar.gz
rust-86c2d1a2a7cb98bf5ff75e8236dea924c7a12638.zip
Don't use a generator for BoxedResolver
The generator is non-trivial and requires unsafe code anyway. Using
regular unsafe code without a generator is much easier to follow.
Diffstat (limited to 'compiler/rustc_interface/src/lib.rs')
-rw-r--r--compiler/rustc_interface/src/lib.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_interface/src/lib.rs b/compiler/rustc_interface/src/lib.rs
index b5af2bfca35..c7424b9e2a1 100644
--- a/compiler/rustc_interface/src/lib.rs
+++ b/compiler/rustc_interface/src/lib.rs
@@ -2,8 +2,6 @@
 #![feature(box_patterns)]
 #![feature(internal_output_capture)]
 #![feature(nll)]
-#![feature(generator_trait)]
-#![feature(generators)]
 #![feature(once_cell)]
 #![recursion_limit = "256"]