We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b9cb5 commit 096feabCopy full SHA for 096feab
proc_macro/src/lib.rs
@@ -21,7 +21,8 @@
21
#![feature(rustc_allow_const_fn_unstable)]
22
#![feature(nll)]
23
#![feature(staged_api)]
24
-#![feature(const_fn)]
+#![cfg_attr(bootstrap, feature(const_fn))]
25
+#![cfg_attr(not(bootstrap), feature(const_fn_trait_bound))]
26
#![feature(const_fn_fn_ptr_basics)]
27
#![feature(allow_internal_unstable)]
28
#![feature(decl_macro)]
0 commit comments