Skip to content

Commit bba6dda

Browse files
authored
Rollup merge of rust-lang#63377 - SOF3:issues/63375, r=Centril
Improved documentation for compile_error!() Fixes rust-lang#63375
2 parents 499887f + 403292d commit bba6dda

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)