unwrap_used lint fires for #[test]ing code #5805
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
good-first-issue
These issues are a good way to get started with Clippy
It would be nice if there was a lint that fired on
unwrap
s inside regular code, but not in#[test]
(or#[cfg(test)]
?) code, potentially just the existingunwrap_used
lint.unwrap_used
or should it likely be a separate lint?#[test]
/#[cfg(test)]
?The text was updated successfully, but these errors were encountered: