summaryrefslogtreecommitdiffstats
path: root/src/test/ui/extenv/extenv-not-defined-default.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/extenv/extenv-not-defined-default.stderr')
-rw-r--r--src/test/ui/extenv/extenv-not-defined-default.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/extenv/extenv-not-defined-default.stderr b/src/test/ui/extenv/extenv-not-defined-default.stderr
new file mode 100644
index 000000000..884875dca
--- /dev/null
+++ b/src/test/ui/extenv/extenv-not-defined-default.stderr
@@ -0,0 +1,10 @@
+error: environment variable `__HOPEFULLY_NOT_DEFINED__` not defined
+ --> $DIR/extenv-not-defined-default.rs:2:5
+ |
+LL | env!("__HOPEFULLY_NOT_DEFINED__");
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+ = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: aborting due to previous error
+