From 20b4f86d13b177bf66d1fa4fefbfcc1bb552cb94 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 20 Jul 2017 15:50:33 -0700 Subject: Stabilize the `compile_error_macro` feature Stabilizes: * `compile_error!` as a macro defined by rustc Closes #40872 --- src/libstd/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd') diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs index 6ad22820a7d..343c499b3ff 100644 --- a/src/libstd/macros.rs +++ b/src/libstd/macros.rs @@ -249,7 +249,7 @@ pub mod builtin { /// For more information, see the [RFC]. /// /// [RFC]: https://github.com/rust-lang/rfcs/blob/master/text/1695-add-error-macro.md - #[unstable(feature = "compile_error_macro", issue = "40872")] + #[stable(feature = "compile_error_macro", since = "1.20.0")] #[macro_export] macro_rules! compile_error { ($msg:expr) => ({ /* compiler built-in */ }) } -- cgit 1.4.1-3-g733a5