We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
env!
option_env!
1 parent 7b0eac4 commit cfe2e46Copy full SHA for cfe2e46
library/core/src/macros/mod.rs
@@ -960,6 +960,8 @@ pub(crate) mod builtin {
960
///
961
/// A compile time error is never emitted when using this macro regardless
962
/// of whether the environment variable is present or not.
963
+ /// To emit a compile error if the environment variable is not present,
964
+ /// use the [`env!`] macro instead.
965
966
/// # Examples
967
0 commit comments