diff options
| author | Paolo Gentili <pgentili@alma-automotive.it> | 2022-03-15 14:24:07 +0100 |
|---|---|---|
| committer | Paolo Gentili <nellorocca@gmail.com> | 2022-03-15 18:45:01 +0100 |
| commit | 5c1843dbce100715e574d1022651b6796fd99a30 (patch) | |
| tree | 68f69c2edde3362cbde1e9a71aeed8ea93e6d682 | |
| parent | b83c6323c7d788fe4b6921b000324fb09945e12b (diff) | |
| download | rust-5c1843dbce100715e574d1022651b6796fd99a30.tar.gz rust-5c1843dbce100715e574d1022651b6796fd99a30.zip | |
Moved lint to `restriction`
| -rw-r--r-- | clippy_lints/src/try_err.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/try_err.rs b/clippy_lints/src/try_err.rs index 80d6f3c6336..e108f7be12e 100644 --- a/clippy_lints/src/try_err.rs +++ b/clippy_lints/src/try_err.rs @@ -43,7 +43,7 @@ declare_clippy_lint! { /// ``` #[clippy::version = "1.38.0"] pub TRY_ERR, - style, + restriction, "return errors explicitly rather than hiding them behind a `?`" } |
