mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 06:35:27 +00:00
ignore too_many_arguments on check
This commit is contained in:
parent
c378bf9ddf
commit
ca00b138b2
@ -20,6 +20,7 @@ use rustc_span::sym;
|
|||||||
use super::MAP_UNWRAP_OR;
|
use super::MAP_UNWRAP_OR;
|
||||||
|
|
||||||
/// lint use of `map().unwrap_or()` for `Option`s
|
/// lint use of `map().unwrap_or()` for `Option`s
|
||||||
|
#[expect(clippy::too_many_arguments)]
|
||||||
pub(super) fn check<'tcx>(
|
pub(super) fn check<'tcx>(
|
||||||
cx: &LateContext<'tcx>,
|
cx: &LateContext<'tcx>,
|
||||||
expr: &rustc_hir::Expr<'_>,
|
expr: &rustc_hir::Expr<'_>,
|
||||||
|
Loading…
Reference in New Issue
Block a user