mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Update version attribute for 1.69 lints
This commit is contained in:
parent
90cb0fa2f3
commit
747ff0656b
@ -348,7 +348,7 @@ declare_clippy_lint! {
|
||||
/// // [...]
|
||||
/// }
|
||||
/// ```
|
||||
#[clippy::version = "1.68.0"]
|
||||
#[clippy::version = "1.69.0"]
|
||||
pub IMPL_TRAIT_IN_PARAMS,
|
||||
restriction,
|
||||
"`impl Trait` is used in the function's parameters"
|
||||
|
@ -3185,7 +3185,7 @@ declare_clippy_lint! {
|
||||
/// ```rust
|
||||
/// std::process::Command::new("echo").args(["-n", "hello"]).spawn().unwrap();
|
||||
/// ```
|
||||
#[clippy::version = "1.67.0"]
|
||||
#[clippy::version = "1.69.0"]
|
||||
pub SUSPICIOUS_COMMAND_ARG_SPACE,
|
||||
suspicious,
|
||||
"single command line argument that looks like it should be multiple arguments"
|
||||
|
@ -59,7 +59,7 @@ declare_clippy_lint! {
|
||||
/// unsafe { char::from_u32_unchecked(int_value) }
|
||||
/// }
|
||||
/// ```
|
||||
#[clippy::version = "1.68.0"]
|
||||
#[clippy::version = "1.69.0"]
|
||||
pub MULTIPLE_UNSAFE_OPS_PER_BLOCK,
|
||||
restriction,
|
||||
"more than one unsafe operation per `unsafe` block"
|
||||
|
@ -24,7 +24,7 @@ declare_clippy_lint! {
|
||||
/// ```ignore
|
||||
/// utility_macro!(expr);
|
||||
/// ```
|
||||
#[clippy::version = "pre 1.29.0"]
|
||||
#[clippy::version = "1.69.0"]
|
||||
pub QUESTION_MARK_USED,
|
||||
restriction,
|
||||
"complains if the question mark operator is used"
|
||||
|
@ -46,7 +46,7 @@ declare_clippy_lint! {
|
||||
/// do_heavy_computation_that_takes_time(owned_rslt);
|
||||
/// }
|
||||
/// ```
|
||||
#[clippy::version = "1.67.0"]
|
||||
#[clippy::version = "1.69.0"]
|
||||
pub SIGNIFICANT_DROP_TIGHTENING,
|
||||
nursery,
|
||||
"Searches for elements marked with `#[clippy::has_significant_drop]` that could be early dropped but are in fact dropped at the end of their scopes"
|
||||
|
Loading…
Reference in New Issue
Block a user