Skip to content

Commit

Permalink
Rollup merge of rust-lang#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 rust-lang#82117
  • Loading branch information
JohnTitor authored Feb 15, 2021
2 parents f0fd778 + 3d7fcff commit ebaba22
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 ebaba22

Please sign in to comment.