summaryrefslogtreecommitdiffstats
path: root/tests/ui/extoption_env-not-string-literal.stderr
blob: d4fec1b45c9d3e410bfadd4401de611c856b9fb6 (plain)
1
2
3
4
5
6
7
8
error: argument must be a string literal
  --> $DIR/extoption_env-not-string-literal.rs:1:25
   |
LL | fn main() { option_env!(10); }
   |                         ^^

error: aborting due to 1 previous error