Skip to content

Commit 6152144

Browse files
committed
Extra proc macro gates are now at #54727
1 parent 526ca7c commit 6152144

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/libsyntax/feature_gate.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -441,10 +441,10 @@ declare_features! (
441441

442442
// Allows macro invocations on modules expressions and statements and
443443
// procedural macros to expand to non-items.
444-
(active, proc_macro_mod, "1.27.0", Some(38356), None),
445-
(active, proc_macro_expr, "1.27.0", Some(38356), None),
446-
(active, proc_macro_non_items, "1.27.0", Some(38356), None),
447-
(active, proc_macro_gen, "1.27.0", Some(38356), None),
444+
(active, proc_macro_mod, "1.27.0", Some(54727), None),
445+
(active, proc_macro_expr, "1.27.0", Some(54727), None),
446+
(active, proc_macro_non_items, "1.27.0", Some(54727), None),
447+
(active, proc_macro_gen, "1.27.0", Some(54727), None),
448448

449449
// #[doc(alias = "...")]
450450
(active, doc_alias, "1.27.0", Some(50146), None),
@@ -502,7 +502,7 @@ declare_features! (
502502
(active, custom_test_frameworks, "1.30.0", Some(50297), None),
503503

504504
// Non-builtin attributes in inner attribute position
505-
(active, custom_inner_attributes, "1.30.0", Some(38356), None),
505+
(active, custom_inner_attributes, "1.30.0", Some(54726), None),
506506

507507
// Self struct constructor (RFC 2302)
508508
(active, self_struct_ctor, "1.30.0", Some(51994), None),

src/test/ui-fulldeps/proc-macro/auxiliary/multispan.rs

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

1313
#![crate_type = "proc-macro"]
14-
#![feature(proc_macro_diagnostic, proc_macro_span)]
14+
#![feature(proc_macro_diagnostic, proc_macro_span, proc_macro_def_site)]
1515

1616
extern crate proc_macro;
1717

src/test/ui-fulldeps/proc-macro/auxiliary/three-equals.rs

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

1313
#![crate_type = "proc-macro"]
14-
#![feature(proc_macro_diagnostic, proc_macro_span)]
14+
#![feature(proc_macro_diagnostic, proc_macro_span, proc_macro_def_site)]
1515

1616
extern crate proc_macro;
1717

src/test/ui/span/issue-36530.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | #[foo] //~ ERROR is currently unknown to the compiler
66
|
77
= help: add #![feature(custom_attribute)] to the crate attributes to enable
88

9-
error[E0658]: non-builtin inner attributes are unstable (see issue #38356)
9+
error[E0658]: non-builtin inner attributes are unstable (see issue #54726)
1010
--> $DIR/issue-36530.rs:15:5
1111
|
1212
LL | #![foo] //~ ERROR is currently unknown to the compiler

0 commit comments

Comments
 (0)