diff options
Diffstat (limited to 'src/test/ui/extoption_env-not-string-literal.stderr')
-rw-r--r-- | src/test/ui/extoption_env-not-string-literal.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/extoption_env-not-string-literal.stderr b/src/test/ui/extoption_env-not-string-literal.stderr new file mode 100644 index 000000000..272751916 --- /dev/null +++ b/src/test/ui/extoption_env-not-string-literal.stderr @@ -0,0 +1,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 + |