diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-07-17 14:45:16 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-07-17 14:49:53 -0700 |
| commit | 5ecec1c58b980dee59e1421baa512eee5f042610 (patch) | |
| tree | 37e2a681a3ec81e5527cd1a96799fe6b8f915a6a /src | |
| parent | 4bff385fdadb999f19afb7b1482df7863034d742 (diff) | |
| download | rust-5ecec1c58b980dee59e1421baa512eee5f042610.tar.gz rust-5ecec1c58b980dee59e1421baa512eee5f042610.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 1a73096505f..0d19b4fb532 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -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), |
