rust/src/test/ui/extoption_env-not-string-literal.stderr

9 lines
251 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error: argument must be a string literal
2018-12-25 09:56:47 -06:00
--> $DIR/extoption_env-not-string-literal.rs:1:25
2018-08-08 07:28:26 -05:00
|
LL | fn main() { option_env!(10); } //~ ERROR: argument must be a string literal
| ^^
error: aborting due to previous error