1
Fork 0

Rollup merge of #63377 - SOF3:issues/63375, r=Centril

Improved documentation for compile_error!()

Fixes #63375
This commit is contained in:
Mazdak Farrokhzad 2019-08-08 16:33:43 +02:00 committed by GitHub
commit bba6dda2ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
///