Skip to content

Commit

Permalink
Stabilize fn-like proc macros in expression, pattern and statement po…
Browse files Browse the repository at this point in the history
…sitions
  • Loading branch information
petrochenkov committed May 3, 2020
1 parent d270887 commit 2d10bab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mini-macro/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/auxiliary/proc_macro_derive.rs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
1 change: 0 additions & 1 deletion tests/ui/crashes/ice-3741.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 2d10bab

Please sign in to comment.