]> git.lizzy.rs Git - rust.git/blob - src/test/ui/extoption_env-not-string-literal.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / extoption_env-not-string-literal.stderr
1 error: argument must be a string literal
2   --> $DIR/extoption_env-not-string-literal.rs:1:25
3    |
4 LL | fn main() { option_env!(10); } //~ ERROR: argument must be a string literal
5    |                         ^^
6
7 error: aborting due to previous error
8