mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
Stabilize fn-like proc macros in expression, pattern and statement positions
This commit is contained in:
parent
d2708873ef
commit
2d10babb71
3 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
#![feature(proc_macro_quote, proc_macro_hygiene)]
|
||||
#![feature(proc_macro_quote)]
|
||||
#![deny(rust_2018_idioms)]
|
||||
// FIXME: Remove this attribute once the weird failure is gone.
|
||||
#![allow(unused_extern_crates)]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// no-prefer-dynamic
|
||||
|
||||
#![crate_type = "proc-macro"]
|
||||
#![feature(repr128, proc_macro_hygiene, proc_macro_quote)]
|
||||
#![feature(repr128, proc_macro_quote)]
|
||||
|
||||
extern crate proc_macro;
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// aux-build:proc_macro_crash.rs
|
||||
// run-pass
|
||||
|
||||
#![feature(proc_macro_hygiene)]
|
||||
#![warn(clippy::suspicious_else_formatting)]
|
||||
|
||||
extern crate proc_macro_crash;
|
||||
|
|
Loading…
Reference in a new issue