Skip to content

Commit dee5424

Browse files
committed
Add missing env!-decl variant
Resolves rust-lang#82117
1 parent 5fa22fe commit dee5424

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)