about summary refs log tree commit diff
path: root/src/libproc_macro
diff options
context:
space:
mode:
authorDylan MacKenzie <ecstaticmorse@gmail.com>2020-01-10 17:40:57 -0800
committerDylan MacKenzie <ecstaticmorse@gmail.com>2020-01-10 18:51:12 -0800
commit09b5c854de112120a6cf4298eb9c96549995b1b0 (patch)
treef575eb0a2b96f9da75182df2405b697ce1d073b0 /src/libproc_macro
parent8f1df30d06072f03407654b1cde11a1a067bdfad (diff)
downloadrust-09b5c854de112120a6cf4298eb9c96549995b1b0.tar.gz
rust-09b5c854de112120a6cf4298eb9c96549995b1b0.zip
Remove unnecessary `const_fn` feature gates
This flag opts out of the min-const-fn checks entirely, which is usually
not what we want. The few cases where the flag is still necessary have
been annotated.
Diffstat (limited to 'src/libproc_macro')
-rw-r--r--src/libproc_macro/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libproc_macro/lib.rs b/src/libproc_macro/lib.rs
index 0b74a104da4..c51db695a5b 100644
--- a/src/libproc_macro/lib.rs
+++ b/src/libproc_macro/lib.rs
@@ -21,7 +21,6 @@
 #![feature(nll)]
 #![feature(staged_api)]
 #![feature(allow_internal_unstable)]
-#![feature(const_fn)]
 #![feature(decl_macro)]
 #![feature(extern_types)]
 #![feature(in_band_lifetimes)]