Skip to content

Commit ebaba22

Browse files
authored
Rollup merge of rust-lang#82118 - lukaslueg:env_decl, r=m-ou-se
Add missing env!-decl variant Resolves rust-lang#82117
2 parents f0fd778 + 3d7fcff commit ebaba22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/macros/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,7 @@ pub(crate) mod builtin {
816816
#[macro_export]
817817
macro_rules! env {
818818
($name:expr $(,)?) => {{ /* compiler built-in */ }};
819+
($name:expr, $error_msg:expr $(,)?) => {{ /* compiler built-in */ }};
819820
}
820821

821822
/// Optionally inspects an environment variable at compile time.

0 commit comments

Comments
 (0)