From 403292db355c409d01c2e65bc6c1fe14cb35922b Mon Sep 17 00:00:00 2001 From: SOFe Date: Thu, 8 Aug 2019 18:05:10 +0800 Subject: [PATCH] Improved documentation for compile_error!() Fixes #63375 --- src/libcore/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs index 37cc71bff62b4..09d2331b60fed 100644 --- a/src/libcore/macros.rs +++ b/src/libcore/macros.rs @@ -680,7 +680,7 @@ pub(crate) mod builtin { /// /// This macro should be used when a crate uses a conditional compilation strategy to provide /// better error messages for erroneous conditions. It's the compiler-level form of [`panic!`], - /// which emits an error at *runtime*, rather than during compilation. + /// but emits an error during *compilation* rather than at *runtime*. /// /// # Examples ///