Skip to content

Commit 624076f

Browse files
Update after proc_macro stabilization
The feature `proc_macro` was recently stabilized [1]. This has two effects: - The `proc_macro` feature gate is replaced by finer grained feature gates - Using this crate now doesn't need `#![feature(proc_macro)]` but `#![feature(use_extern_macros)]` [1]: rust-lang/rust#52081
1 parent fb05e56 commit 624076f

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

compile_test/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Try running `cargo expand` on this crate to see the output of `#[auto_impl]`.
33
*/
44

5-
#![feature(proc_macro)]
5+
#![feature(use_extern_macros)]
66

77
extern crate auto_impl;
88

examples/greet_closure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(proc_macro)]
1+
#![feature(use_extern_macros)]
22

33
extern crate auto_impl;
44

examples/refs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(proc_macro)]
1+
#![feature(use_extern_macros)]
22

33
extern crate auto_impl;
44

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
#![feature(crate_in_paths)]
55
#![feature(extern_prelude)]
66
#![feature(in_band_lifetimes)]
7-
#![feature(proc_macro)]
7+
#![feature(proc_macro_span)]
8+
#![feature(proc_macro_diagnostic)]
89

910

1011
extern crate proc_macro;

0 commit comments

Comments
 (0)