rust/src/test/ui/extoption_env-not-string-literal.stderr
2018-12-25 21:08:33 -07:00

9 lines
251 B
Plaintext

error: argument must be a string literal
--> $DIR/extoption_env-not-string-literal.rs:1:25
|
LL | fn main() { option_env!(10); } //~ ERROR: argument must be a string literal
| ^^
error: aborting due to previous error