Add missing env!-decl variant

Resolves #82117
This commit is contained in:
Lukas Lueg 2021-02-14 22:39:47 +01:00
parent 5fa22fe6f8
commit dee54244a6

View File

@ -816,6 +816,7 @@ macro_rules! format_args_nl {
#[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.