未验证 提交 403292db 编写于 作者: S SOFe

Improved documentation for compile_error!()

Fixes #63375
上级 04523404
......@@ -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
///
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册