ignore too_many_arguments on check

This commit is contained in:
darklyspaced 2023-06-26 14:47:05 +08:00
parent c378bf9ddf
commit ca00b138b2
No known key found for this signature in database

View File

@ -20,6 +20,7 @@ use rustc_span::sym;
use super::MAP_UNWRAP_OR;
/// lint use of `map().unwrap_or()` for `Option`s
#[expect(clippy::too_many_arguments)]
pub(super) fn check<'tcx>(
cx: &LateContext<'tcx>,
expr: &rustc_hir::Expr<'_>,