Fix compile on latest nightly (#527)
The `proc_macro` feature has stabilized in the compiler and usage of it largely needs to switch to `use_extern_macros` now.
This commit is contained in:
@@ -8,8 +8,6 @@
|
|||||||
//! `#[test]` function to the original token stream which asserts that the
|
//! `#[test]` function to the original token stream which asserts that the
|
||||||
//! function itself contains the relevant instruction.
|
//! function itself contains the relevant instruction.
|
||||||
|
|
||||||
#![feature(proc_macro)]
|
|
||||||
|
|
||||||
extern crate proc_macro;
|
extern crate proc_macro;
|
||||||
extern crate proc_macro2;
|
extern crate proc_macro2;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
)]
|
)]
|
||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
test,
|
test,
|
||||||
feature(proc_macro, test, attr_literals, abi_vectorcall, untagged_unions)
|
feature(use_extern_macros, test, attr_literals, abi_vectorcall, untagged_unions)
|
||||||
)]
|
)]
|
||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
|
|||||||
@@ -3,8 +3,6 @@
|
|||||||
//! This macro expands to a `#[test]` function which tests the local machine
|
//! This macro expands to a `#[test]` function which tests the local machine
|
||||||
//! for the appropriate cfg before calling the inner test function.
|
//! for the appropriate cfg before calling the inner test function.
|
||||||
|
|
||||||
#![feature(proc_macro)]
|
|
||||||
|
|
||||||
extern crate proc_macro;
|
extern crate proc_macro;
|
||||||
extern crate proc_macro2;
|
extern crate proc_macro2;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
//! output once globally and then provides the `assert` function which makes
|
//! output once globally and then provides the `assert` function which makes
|
||||||
//! assertions about the disassembly of a function.
|
//! assertions about the disassembly of a function.
|
||||||
|
|
||||||
#![feature(proc_macro)]
|
#![feature(use_extern_macros)]
|
||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
allow(missing_docs_in_private_items, print_stdout)
|
allow(missing_docs_in_private_items, print_stdout)
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
#![feature(proc_macro)]
|
|
||||||
|
|
||||||
extern crate proc_macro;
|
extern crate proc_macro;
|
||||||
extern crate proc_macro2;
|
extern crate proc_macro2;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#![feature(proc_macro)]
|
#![feature(use_extern_macros)]
|
||||||
#![allow(bad_style)]
|
#![allow(bad_style)]
|
||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
|
|||||||
Reference in New Issue
Block a user