rust-clippy/tests/ui/exit1.stderr

12 lines
297 B
Text
Raw Normal View History

2019-10-18 19:09:42 +00:00
error: usage of `process::exit`
2019-10-29 20:34:00 +00:00
--> $DIR/exit1.rs:5:9
2019-10-18 19:09:42 +00:00
|
2019-10-29 20:34:00 +00:00
LL | std::process::exit(4);
| ^^^^^^^^^^^^^^^^^^^^^
2019-10-18 19:09:42 +00:00
|
= note: `-D clippy::exit` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::exit)]`
2019-10-18 19:09:42 +00:00
error: aborting due to previous error