Moved lint to restriction

This commit is contained in:
Paolo Gentili 2022-03-15 14:24:07 +01:00 committed by Paolo Gentili
parent b83c6323c7
commit 5c1843dbce

View file

@ -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 `?`"
}