diff options
Diffstat (limited to 'src/test/ui/extoption_env-too-many-args.stderr')
-rw-r--r-- | src/test/ui/extoption_env-too-many-args.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/extoption_env-too-many-args.stderr b/src/test/ui/extoption_env-too-many-args.stderr new file mode 100644 index 000000000..a34e60b64 --- /dev/null +++ b/src/test/ui/extoption_env-too-many-args.stderr @@ -0,0 +1,8 @@ +error: option_env! takes 1 argument + --> $DIR/extoption_env-too-many-args.rs:1:13 + | +LL | fn main() { option_env!("one", "two"); } + | ^^^^^^^^^^^^^^^^^^^^^^^^^ + +error: aborting due to previous error + |