mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
Rollup merge of #82118 - lukaslueg:env_decl, r=m-ou-se
Add missing env!-decl variant Resolves #82117
This commit is contained in:
commit
b0bd056bc9
@ -816,6 +816,7 @@ pub(crate) mod builtin {
|
|||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! env {
|
macro_rules! env {
|
||||||
($name:expr $(,)?) => {{ /* compiler built-in */ }};
|
($name:expr $(,)?) => {{ /* compiler built-in */ }};
|
||||||
|
($name:expr, $error_msg:expr $(,)?) => {{ /* compiler built-in */ }};
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Optionally inspects an environment variable at compile time.
|
/// Optionally inspects an environment variable at compile time.
|
||||||
|
Loading…
Reference in New Issue
Block a user