Skip to content

Commit 2d10bab

Browse files
committed
Stabilize fn-like proc macros in expression, pattern and statement positions
1 parent d270887 commit 2d10bab

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

mini-macro/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(proc_macro_quote, proc_macro_hygiene)]
1+
#![feature(proc_macro_quote)]
22
#![deny(rust_2018_idioms)]
33
// FIXME: Remove this attribute once the weird failure is gone.
44
#![allow(unused_extern_crates)]

tests/ui/auxiliary/proc_macro_derive.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// no-prefer-dynamic
22

33
#![crate_type = "proc-macro"]
4-
#![feature(repr128, proc_macro_hygiene, proc_macro_quote)]
4+
#![feature(repr128, proc_macro_quote)]
55

66
extern crate proc_macro;
77

tests/ui/crashes/ice-3741.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// aux-build:proc_macro_crash.rs
22
// run-pass
33

4-
#![feature(proc_macro_hygiene)]
54
#![warn(clippy::suspicious_else_formatting)]
65

76
extern crate proc_macro_crash;

0 commit comments

Comments
 (0)