Merge commit '37f4fbb929' into clippy-subtree-update
This commit is contained in:
parent
6d674685ae
commit
4e6851e50b
291 changed files with 4890 additions and 5205 deletions
|
|
@ -1,4 +1,5 @@
|
|||
use clippy_config::msrvs::{self, Msrv};
|
||||
use clippy_config::Conf;
|
||||
use clippy_utils::diagnostics::span_lint_and_help;
|
||||
use clippy_utils::visitors::for_each_local_use_after_expr;
|
||||
use clippy_utils::{is_from_proc_macro, path_to_local};
|
||||
|
|
@ -42,9 +43,15 @@ declare_clippy_lint! {
|
|||
}
|
||||
impl_lint_pass!(TupleArrayConversions => [TUPLE_ARRAY_CONVERSIONS]);
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct TupleArrayConversions {
|
||||
pub msrv: Msrv,
|
||||
msrv: Msrv,
|
||||
}
|
||||
impl TupleArrayConversions {
|
||||
pub fn new(conf: &'static Conf) -> Self {
|
||||
Self {
|
||||
msrv: conf.msrv.clone(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl LateLintPass<'_> for TupleArrayConversions {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue