Skip to content

Commit 5ecec1c

Browse files
committed
rustc: Enable use_extern_macros in 2018 edition
This was previously enabled via `proc_macro`, but since `proc_macro` is now stable this is no longer the case. Explicitly include it in the 2018 edition here.
1 parent 4bff385 commit 5ecec1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/feature_gate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ declare_features! (
284284
// Allows #[link(..., cfg(..))]
285285
(active, link_cfg, "1.14.0", Some(37406), None),
286286

287-
(active, use_extern_macros, "1.15.0", Some(35896), None),
287+
(active, use_extern_macros, "1.15.0", Some(35896), Some(Edition::Edition2018)),
288288

289289
// `extern "ptx-*" fn()`
290290
(active, abi_ptx, "1.15.0", Some(38788), None),

0 commit comments

Comments
 (0)