You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rust: drop(writeln!(..)) discards errors that unused_result_ok cannot see #13317
drop(writeln!(..)) and drop(write!(..)) discard write errors where clippy::unused_result_ok and clippy::map_err_ignore cannot see them: 28 sites outside cli/cli/src/main.rs.
Then add a source check under //tools/ci that rejects drop(write!, drop(writeln! and let _ = <expr>.ok() in shipped Rust, so these discards cannot come back once the lints are denied.
Activity
rust: stop discarding write errors unseen by unused_result_ok (closes #…