Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn when forgetting to flush stdout before calling std::process::exit. #713

Open
ticki opened this issue Feb 26, 2016 · 1 comment
Open
Labels
A-lint Area: New lints

Comments

@ticki
Copy link

ticki commented Feb 26, 2016

std::process::exit does not call destructors, thus the buffered standard output should be flushed before calling exit to avoid silencing standard output. A lint ensuring that can potentially create false positives, thus I propose adding it to clippy-pedantic group.

@finnbear
Copy link

finnbear commented Oct 9, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lint Area: New lints
Projects
None yet
Development

No branches or pull requests

3 participants