summaryrefslogtreecommitdiffstats
path: root/tests/ui/extoption_env-not-string-literal.stderr
blob: 272751916f5befe2d99b29fdf97349a54be377d0 (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 previous error