From 7b69ad91585cebb50a1b6cae0d8d9a3ac83d78ff Mon Sep 17 00:00:00 2001 From: "NODA, Kai" Date: Sun, 27 Mar 2016 05:29:05 +0800 Subject: [PATCH] Type macro is tracked at rust-lang/rust#27245, not 27336 Signed-off-by: NODA, Kai --- src/libsyntax/feature_gate.rs | 2 +- src/test/compile-fail/type-macros-fail.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index cd88aaa459750..5ade636a3271d 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -199,7 +199,7 @@ const KNOWN_FEATURES: &'static [(&'static str, &'static str, Option, Status ("associated_type_defaults", "1.2.0", Some(29661), Active), // Allows macros to appear in the type position. - ("type_macros", "1.3.0", Some(27336), Active), + ("type_macros", "1.3.0", Some(27245), Active), // allow `repr(simd)`, and importing the various simd intrinsics ("repr_simd", "1.4.0", Some(27731), Active), diff --git a/src/test/compile-fail/type-macros-fail.rs b/src/test/compile-fail/type-macros-fail.rs index 756f5d4547a16..4712e2b65e16a 100644 --- a/src/test/compile-fail/type-macros-fail.rs +++ b/src/test/compile-fail/type-macros-fail.rs @@ -14,7 +14,7 @@ macro_rules! Id { struct Foo { x: Id!(T) - //~^ ERROR: type macros are experimental (see issue #27336) + //~^ ERROR: type macros are experimental (see issue #27245) } fn main() {