rust/tests/ui/env-macro/env-not-defined-custom.rs

2 lines
97 B
Rust

fn main() { env!("__HOPEFULLY_NOT_DEFINED__", "my error message"); } //~ ERROR: my error message