Files
rust/library/std
Jonathan Brouwer b47b950149 Rollup merge of #162805 - ChrisDenton:exit-code-must-use, r=jhpratt
Add `must_use` lint to `ExitCode`

An [`ExitCode`](https://doc.rust-lang.org/nightly/std/process/struct.ExitCode.html) is intended to be returned from `main` (or used in other ways of terminating a process). It's also a `Result` like type in that it has success and error values. It's *probably* a mistake if it's ignored but if not it makes sense to require users to explicitly acknowledge that ignoring it is intentional (e.g. with `let _ = ...`).
2026-09-17 16:50:53 +02:00
..
…