Skip to content

Commit 5c1843d

Browse files
Paolo Gentilip-gentili
authored andcommitted
Moved lint to restriction
1 parent b83c632 commit 5c1843d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/try_err.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ declare_clippy_lint! {
4343
/// ```
4444
#[clippy::version = "1.38.0"]
4545
pub TRY_ERR,
46-
style,
46+
restriction,
4747
"return errors explicitly rather than hiding them behind a `?`"
4848
}
4949

0 commit comments

Comments
 (0)