1
Fork 0

Improved documentation for compile_error!()

Fixes #63375
This commit is contained in:
SOFe 2019-08-08 18:05:10 +08:00
parent 04523404bc
commit 403292db35
No known key found for this signature in database
GPG key ID: 0C2A8814637DCBDE

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 /// 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!`], /// 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 /// # Examples
/// ///