Skip to content

Commit

Permalink
Rollup merge of #82118 - lukaslueg:env_decl, r=m-ou-se
Browse files Browse the repository at this point in the history
Add missing env!-decl variant

Resolves #82117
  • Loading branch information
jonas-schievink committed Feb 15, 2021
2 parents 285ea2f + 3d7fcff commit b0bd056
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/core/src/macros/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,7 @@ pub(crate) mod builtin {
#[macro_export]
macro_rules! env {
($name:expr $(,)?) => {{ /* compiler built-in */ }};
($name:expr, $error_msg:expr $(,)?) => {{ /* compiler built-in */ }};
}

/// Optionally inspects an environment variable at compile time.
Expand Down

0 comments on commit b0bd056

Please sign in to comment.