rust/tests/ui/macros/builtin-env-issue-114010.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
750 B
Plaintext
Raw Normal View History

error: environment variable `oopsie` not defined at compile time
--> $DIR/builtin-env-issue-114010.rs:4:1
|
LL | env![r#"oopsie"#];
| ^^^^^^^^^^^^^^^^^
|
= help: use `std::env::var(r#"oopsie"#)` to read the variable at run time
= note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
error: environment variable `a""a` not defined at compile time
--> $DIR/builtin-env-issue-114010.rs:7:1
|
LL | env![r#"a""a"#];
| ^^^^^^^^^^^^^^^
|
= help: use `std::env::var(r#"a""a"#)` to read the variable at run time
= note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 2 previous errors