Skip to content

Commit

Permalink
rustc: Enable use_extern_macros in 2018 edition
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alexcrichton committed Jul 17, 2018
1 parent 4bff385 commit 5ecec1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/feature_gate.rs
Expand Up @@ -284,7 +284,7 @@ declare_features! (
// Allows #[link(..., cfg(..))]
(active, link_cfg, "1.14.0", Some(37406), None),

(active, use_extern_macros, "1.15.0", Some(35896), None),
(active, use_extern_macros, "1.15.0", Some(35896), Some(Edition::Edition2018)),

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

0 comments on commit 5ecec1c

Please sign in to comment.