about summary refs log tree commit diff
path: root/tests/ui/env-macro/option_env-not-string-literal.stderr
blob: 3d2542a0e6c685cbe159e4e833ff43f0f0fe0056 (plain)
1
2
3
4
5
6
7
8
error: argument must be a string literal
  --> $DIR/option_env-not-string-literal.rs:1:25
   |
LL | fn main() { option_env!(10); }
   |                         ^^

error: aborting due to 1 previous error