Skip to content

Commit 5624d2a

Browse files
authored
Rollup merge of #52472 - alexcrichton:macros-edition-2018, r=petrochenkov
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.
2 parents fa9f91d + 5ecec1c commit 5624d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/feature_gate.rs

Lines changed: 1 addition & 1 deletion
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)