From c4515c0c0046a42ea1cfbdbd4a9331ca840bc6a5 Mon Sep 17 00:00:00 2001 From: Arnavion Date: Tue, 17 Jul 2018 10:27:36 -0700 Subject: [PATCH] Fixed build on latest nightly. https://github.com/rust-lang/rust/pull/52081 updated the name of the main feature required for proc-macro-related sub features. --- factorio-mods-common/src/lib.rs | 2 +- factorio-mods-local/src/lib.rs | 2 +- factorio-mods-web/src/lib.rs | 2 +- package/src/lib.rs | 2 +- src/main.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/factorio-mods-common/src/lib.rs b/factorio-mods-common/src/lib.rs index 61fb88b..7f5b373 100644 --- a/factorio-mods-common/src/lib.rs +++ b/factorio-mods-common/src/lib.rs @@ -1,7 +1,7 @@ //! Common types and functionality used by the other factorio-mods crates. #![deny(missing_docs)] -#![feature(proc_macro, proc_macro_path_invoc)] +#![feature(proc_macro_path_invoc, use_extern_macros)] #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] #![cfg_attr(feature = "cargo-clippy", allow( diff --git a/factorio-mods-local/src/lib.rs b/factorio-mods-local/src/lib.rs index 3938c6f..91bc464 100644 --- a/factorio-mods-local/src/lib.rs +++ b/factorio-mods-local/src/lib.rs @@ -1,7 +1,7 @@ //! API to interface with the local Factorio installation. #![deny(missing_docs)] -#![feature(generators, generator_trait, proc_macro, proc_macro_path_invoc)] +#![feature(generators, generator_trait, proc_macro_path_invoc, use_extern_macros)] #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] #![cfg_attr(feature = "cargo-clippy", allow( diff --git a/factorio-mods-web/src/lib.rs b/factorio-mods-web/src/lib.rs index ea0a5b8..0fd885a 100644 --- a/factorio-mods-web/src/lib.rs +++ b/factorio-mods-web/src/lib.rs @@ -1,7 +1,7 @@ //! API to interface with #![deny(missing_docs)] -#![feature(catch_expr, generators, generator_trait, proc_macro, proc_macro_non_items, proc_macro_path_invoc)] +#![feature(catch_expr, generators, generator_trait, proc_macro_non_items, proc_macro_path_invoc, use_extern_macros)] #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] #![cfg_attr(feature = "cargo-clippy", allow( diff --git a/package/src/lib.rs b/package/src/lib.rs index ffe74d0..c54bc51 100644 --- a/package/src/lib.rs +++ b/package/src/lib.rs @@ -1,6 +1,6 @@ //! Solves the given set of packages and requirements to produce a solution of packages to be installed. -#![feature(proc_macro, proc_macro_path_invoc)] +#![feature(proc_macro_path_invoc, use_extern_macros)] #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] #![cfg_attr(feature = "cargo-clippy", allow( diff --git a/src/main.rs b/src/main.rs index 8353735..cfbfe83 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ //! A CLI tool to manage Factorio mods. -#![feature(catch_expr, exhaustive_patterns, generators, never_type, nll, proc_macro, proc_macro_non_items, proc_macro_path_invoc)] +#![feature(catch_expr, exhaustive_patterns, generators, never_type, nll, proc_macro_non_items, proc_macro_path_invoc, use_extern_macros)] #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] #![cfg_attr(feature = "cargo-clippy", allow(