Skip to content

Commit 403292d

Browse files
committed
Improved documentation for compile_error!()
Fixes #63375
1 parent 0452340 commit 403292d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ pub(crate) mod builtin {
680680
///
681681
/// This macro should be used when a crate uses a conditional compilation strategy to provide
682682
/// better error messages for erroneous conditions. It's the compiler-level form of [`panic!`],
683-
/// which emits an error at *runtime*, rather than during compilation.
683+
/// but emits an error during *compilation* rather than at *runtime*.
684684
///
685685
/// # Examples
686686
///

0 commit comments

Comments
 (0)