mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
299 B
Text
11 lines
299 B
Text
error: usage of `process::exit`
|
|
--> $DIR/exit1.rs:5:9
|
|
|
|
|
LL | std::process::exit(4);
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::exit` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::exit)]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|