summaryrefslogtreecommitdiffstats
path: root/tests/ui/extenv/extenv-not-defined-default.stderr
blob: e3dce000530ae336d9d4d3f4c484c3584e1cc2f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
error: environment variable `CARGO__HOPEFULLY_NOT_DEFINED__` not defined at compile time
  --> $DIR/extenv-not-defined-default.rs:2:5
   |
LL |     env!("CARGO__HOPEFULLY_NOT_DEFINED__");
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: Cargo sets build script variables at run time. Use `std::env::var("CARGO__HOPEFULLY_NOT_DEFINED__")` instead
   = 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