rust/tests/ui/extenv/extenv-not-defined-default.rs

5 lines
140 B
Rust

fn main() {
env!("CARGO__HOPEFULLY_NOT_DEFINED__");
//~^ ERROR: environment variable `CARGO__HOPEFULLY_NOT_DEFINED__` not defined
}