rust/tests/ui/extoption_env-too-many-args.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

9 lines
219 B
Plaintext

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 1 previous error