Auto merge of #9326 - flip1995:version-update, r=xFrednet
Update lint versions for 1.63 release r? `@xFrednet` changelog: none
This commit is contained in:
commit
4d5d191f6a
@ -44,7 +44,7 @@
|
|||||||
/// let a: &String = s;
|
/// let a: &String = s;
|
||||||
/// foo(&**s);
|
/// foo(&**s);
|
||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.59.0"]
|
#[clippy::version = "1.63.0"]
|
||||||
pub BORROW_DEREF_REF,
|
pub BORROW_DEREF_REF,
|
||||||
complexity,
|
complexity,
|
||||||
"deref on an immutable reference returns the same type as itself"
|
"deref on an immutable reference returns the same type as itself"
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
/// /// See also: [`foo`]
|
/// /// See also: [`foo`]
|
||||||
/// fn bar() {}
|
/// fn bar() {}
|
||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.60.0"]
|
#[clippy::version = "1.63.0"]
|
||||||
pub DOC_LINK_WITH_QUOTES,
|
pub DOC_LINK_WITH_QUOTES,
|
||||||
pedantic,
|
pedantic,
|
||||||
"possible typo for an intra-doc link"
|
"possible typo for an intra-doc link"
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
/// // a.rs
|
/// // a.rs
|
||||||
/// use crate::b;
|
/// use crate::b;
|
||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.62.0"]
|
#[clippy::version = "1.63.0"]
|
||||||
pub DUPLICATE_MOD,
|
pub DUPLICATE_MOD,
|
||||||
suspicious,
|
suspicious,
|
||||||
"file loaded as module multiple times"
|
"file loaded as module multiple times"
|
||||||
|
@ -2269,7 +2269,7 @@
|
|||||||
/// "1234".replace("12", "12");
|
/// "1234".replace("12", "12");
|
||||||
/// "1234".replacen("12", "12", 1);
|
/// "1234".replacen("12", "12", 1);
|
||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.62.0"]
|
#[clippy::version = "1.63.0"]
|
||||||
pub NO_EFFECT_REPLACE,
|
pub NO_EFFECT_REPLACE,
|
||||||
suspicious,
|
suspicious,
|
||||||
"replace with no effect"
|
"replace with no effect"
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
/// }
|
/// }
|
||||||
/// impl<A, B> Foo<A, B> {}
|
/// impl<A, B> Foo<A, B> {}
|
||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.62.0"]
|
#[clippy::version = "1.63.0"]
|
||||||
pub MISMATCHING_TYPE_PARAM_ORDER,
|
pub MISMATCHING_TYPE_PARAM_ORDER,
|
||||||
pedantic,
|
pedantic,
|
||||||
"type parameter positioned inconsistently between type def and impl block"
|
"type parameter positioned inconsistently between type def and impl block"
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
/// let data = std::rc::Rc::new("some data".to_string());
|
/// let data = std::rc::Rc::new("some data".to_string());
|
||||||
/// let v = vec![data; 100];
|
/// let v = vec![data; 100];
|
||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.62.0"]
|
#[clippy::version = "1.63.0"]
|
||||||
pub RC_CLONE_IN_VEC_INIT,
|
pub RC_CLONE_IN_VEC_INIT,
|
||||||
suspicious,
|
suspicious,
|
||||||
"initializing reference-counted pointer in `vec![elem; len]`"
|
"initializing reference-counted pointer in `vec![elem; len]`"
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
/// ```rust
|
/// ```rust
|
||||||
/// let x = 1f32;
|
/// let x = 1f32;
|
||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.62.0"]
|
#[clippy::version = "1.63.0"]
|
||||||
pub UNUSED_ROUNDING,
|
pub UNUSED_ROUNDING,
|
||||||
nursery,
|
nursery,
|
||||||
"Uselessly rounding a whole number floating-point literal"
|
"Uselessly rounding a whole number floating-point literal"
|
||||||
|
Loading…
Reference in New Issue
Block a user