2
0
Fork 0
mirror of https://github.com/rust-lang/rust-clippy synced 2024-12-03 18:09:42 +00:00
rust-clippy/tests/ui/exit1.stderr

12 lines
299 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 1 previous error
2019-10-18 19:09:42 +00:00