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