diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2021-02-15 16:07:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-15 16:07:05 +0100 |
| commit | b0bd056bc94e6831387d07055ae05a8afcaaaae7 (patch) | |
| tree | fb4c5868bb19e6cab2195abde2139450772e827d | |
| parent | 285ea2f80d8e97a71c3d84c80b359590dfaef473 (diff) | |
| parent | 3d7fcfff76452202a5da532b7cd790fdc53e988b (diff) | |
| download | rust-b0bd056bc94e6831387d07055ae05a8afcaaaae7.tar.gz rust-b0bd056bc94e6831387d07055ae05a8afcaaaae7.zip | |
Rollup merge of #82118 - lukaslueg:env_decl, r=m-ou-se
Add missing env!-decl variant Resolves #82117
| -rw-r--r-- | library/core/src/macros/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs index 7aaf5a5fd46..b3802c1abde 100644 --- a/library/core/src/macros/mod.rs +++ b/library/core/src/macros/mod.rs @@ -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. |
