From c35a44fa0c624e57724ccfa058e1e4da57bbf270 Mon Sep 17 00:00:00 2001 From: Samuel Moelius Date: Mon, 2 Oct 2023 05:47:40 -0400 Subject: [PATCH 1/2] Fix #856 --- .../fixtures/depinfo_dylint_libs/Cargo.toml | 16 ++++++++++ .../fixtures/depinfo_dylint_libs/src/main.rs | 10 ++++++ cargo-dylint/tests/depinfo_dylint_libs.rs | 31 +++++++++++++++++++ driver/src/lib.rs | 5 +++ 4 files changed, 62 insertions(+) create mode 100644 cargo-dylint/fixtures/depinfo_dylint_libs/Cargo.toml create mode 100644 cargo-dylint/fixtures/depinfo_dylint_libs/src/main.rs create mode 100644 cargo-dylint/tests/depinfo_dylint_libs.rs diff --git a/cargo-dylint/fixtures/depinfo_dylint_libs/Cargo.toml b/cargo-dylint/fixtures/depinfo_dylint_libs/Cargo.toml new file mode 100644 index 000000000..114339ad3 --- /dev/null +++ b/cargo-dylint/fixtures/depinfo_dylint_libs/Cargo.toml @@ -0,0 +1,16 @@ +[package] +name = "depinfo_dylint_libs" +version = "0.1.0" +edition = "2021" +publish = false + +[dependencies] +anyhow = "1.0" + +[workspace] + +[workspace.metadata.dylint] +libraries = [ + { path = "../../../examples/restriction/question_mark_in_expression" }, + { path = "../../../examples/restriction/try_io_result" }, +] diff --git a/cargo-dylint/fixtures/depinfo_dylint_libs/src/main.rs b/cargo-dylint/fixtures/depinfo_dylint_libs/src/main.rs new file mode 100644 index 000000000..ec1db2072 --- /dev/null +++ b/cargo-dylint/fixtures/depinfo_dylint_libs/src/main.rs @@ -0,0 +1,10 @@ +use anyhow::Result; +use std::{ + io::{stdout, Write}, + str::from_utf8, +}; + +fn main() -> Result<()> { + write!(stdout(), "{}", from_utf8(b"Hello, world!")?)?; + Ok(()) +} diff --git a/cargo-dylint/tests/depinfo_dylint_libs.rs b/cargo-dylint/tests/depinfo_dylint_libs.rs new file mode 100644 index 000000000..b5168f2d6 --- /dev/null +++ b/cargo-dylint/tests/depinfo_dylint_libs.rs @@ -0,0 +1,31 @@ +use assert_cmd::prelude::*; +use dylint_internal::env; +use predicates::prelude::*; +use std::{env::set_var, process::Command}; + +#[ctor::ctor] +fn initialize() { + set_var(env::CARGO_TERM_COLOR, "never"); +} + +#[test] +fn depinfo_dylint_libs() { + Command::cargo_bin("cargo-dylint") + .unwrap() + .current_dir("fixtures/depinfo_dylint_libs") + .args(["dylint", "--lib", "question_mark_in_expression"]) + .assert() + .stderr(predicate::str::contains( + "\nwarning: using the `?` operator within an expression\n", + )); + + Command::cargo_bin("cargo-dylint") + .unwrap() + .current_dir("fixtures/depinfo_dylint_libs") + .args(["dylint", "--lib", "try_io_result"]) + .assert() + .stderr(predicate::str::contains( + "\nwarning: returning a `std::io::Result` could discard relevant context (e.g., files \ + or paths involved)\n", + )); +} diff --git a/driver/src/lib.rs b/driver/src/lib.rs index 79e3d78f5..e266f4870 100644 --- a/driver/src/lib.rs +++ b/driver/src/lib.rs @@ -195,12 +195,17 @@ impl rustc_driver::Callbacks for Callbacks { previous(sess, lint_store); } + let dylint_libs = env::var(env::DYLINT_LIBS).ok(); let dylint_metadata = env::var(env::DYLINT_METADATA).ok(); let dylint_no_deps = env::var(env::DYLINT_NO_DEPS).ok(); let dylint_no_deps_enabled = dylint_no_deps.as_ref().map_or(false, |value| value != "0"); let cargo_primary_package_is_set = env::var(env::CARGO_PRIMARY_PACKAGE).is_ok(); + sess.parse_sess.env_depinfo.lock().insert(( + rustc_span::Symbol::intern(env::DYLINT_LIBS), + dylint_libs.as_deref().map(rustc_span::Symbol::intern), + )); sess.parse_sess.env_depinfo.lock().insert(( rustc_span::Symbol::intern(env::DYLINT_METADATA), dylint_metadata.as_deref().map(rustc_span::Symbol::intern), From f083ad978e6a6356455f2787f8a8eb3a856e5262 Mon Sep 17 00:00:00 2001 From: Samuel Moelius Date: Tue, 3 Oct 2023 13:05:29 +0000 Subject: [PATCH 2/2] Bump version --- CHANGELOG.md | 5 +++++ Cargo.lock | 12 +++++----- cargo-dylint/Cargo.toml | 8 +++---- driver/Cargo.lock | 4 ++-- driver/Cargo.toml | 4 ++-- dylint-link/Cargo.toml | 8 +++---- dylint/Cargo.toml | 8 +++---- examples/Cargo.toml | 4 ++-- examples/general/Cargo.lock | 22 +++++++++---------- examples/general/Cargo.toml | 2 +- .../await_holding_span_guard/Cargo.toml | 2 +- examples/general/crate_wide_allow/Cargo.toml | 2 +- examples/general/env_cargo_path/Cargo.toml | 2 +- .../Cargo.toml | 2 +- .../non_thread_safe_call_in_test/Cargo.toml | 2 +- .../wrong_serialize_struct_arg/Cargo.toml | 2 +- .../assert_eq_arg_misordering/Cargo.lock | 10 ++++----- .../assert_eq_arg_misordering/Cargo.toml | 2 +- .../restriction/collapsible_unwrap/Cargo.lock | 10 ++++----- .../restriction/collapsible_unwrap/Cargo.toml | 2 +- .../restriction/const_path_join/Cargo.lock | 10 ++++----- .../restriction/const_path_join/Cargo.toml | 2 +- .../restriction/derive_opportunity/Cargo.lock | 10 ++++----- .../restriction/derive_opportunity/Cargo.toml | 2 +- examples/restriction/env_literal/Cargo.lock | 10 ++++----- examples/restriction/env_literal/Cargo.toml | 2 +- .../inconsistent_qualification/Cargo.lock | 10 ++++----- .../inconsistent_qualification/Cargo.toml | 2 +- .../misleading_variable_name/Cargo.lock | 10 ++++----- .../misleading_variable_name/Cargo.toml | 2 +- .../missing_doc_comment_openai/Cargo.lock | 10 ++++----- .../missing_doc_comment_openai/Cargo.toml | 2 +- .../restriction/overscoped_allow/Cargo.lock | 10 ++++----- .../restriction/overscoped_allow/Cargo.toml | 2 +- .../question_mark_in_expression/Cargo.lock | 10 ++++----- .../question_mark_in_expression/Cargo.toml | 2 +- .../Cargo.lock | 10 ++++----- .../Cargo.toml | 2 +- .../restriction/suboptimal_pattern/Cargo.lock | 10 ++++----- .../restriction/suboptimal_pattern/Cargo.toml | 2 +- examples/restriction/try_io_result/Cargo.lock | 10 ++++----- examples/restriction/try_io_result/Cargo.toml | 2 +- examples/supplementary/Cargo.lock | 20 ++++++++--------- examples/supplementary/Cargo.toml | 2 +- .../supplementary/commented_code/Cargo.toml | 2 +- .../redundant_reference/Cargo.toml | 2 +- .../supplementary/unnamed_constant/Cargo.toml | 2 +- .../unnecessary_borrow_mut/Cargo.toml | 2 +- .../Cargo.toml | 2 +- examples/testing/clippy/Cargo.lock | 10 ++++----- examples/testing/clippy/Cargo.toml | 2 +- examples/testing/straggler/Cargo.lock | 10 ++++----- examples/testing/straggler/Cargo.toml | 2 +- internal/Cargo.toml | 2 +- internal/template/Cargo.toml~ | 4 ++-- utils/linting/Cargo.lock | 4 ++-- utils/linting/Cargo.toml | 4 ++-- utils/testing/Cargo.toml | 6 ++--- 58 files changed, 163 insertions(+), 158 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f5910583..654685f0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 2.4.3 + +- [#858](https://github.com/trailofbits/dylint/pull/858) made `curl-sys` a non-optional dependency of the `dylint` package. This had unintended side effects, e.g., causing all of the example lints to transitively depend on `curl-sys`. [#867](https://github.com/trailofbits/dylint/pull/867) corrects the situation. ([#867](https://github.com/trailofbits/dylint/pull/867)) +- Ensure that consecutive uses of `--lib` produce the correct output, i.e., are not improperly cached ([#866](https://github.com/trailofbits/dylint/pull/866))—thanks [@EFanZh](https://github.com/EFanZh) for the [bug report](https://github.com/trailofbits/dylint/issues/856) + ## 2.4.2 - Work around [curl/curl#11893](https://github.com/curl/curl/issues/11893) ([#858](https://github.com/trailofbits/dylint/pull/858)) diff --git a/Cargo.lock b/Cargo.lock index bdc84fed5..6ea19a819 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -328,7 +328,7 @@ dependencies = [ [[package]] name = "cargo-dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "assert_cmd", @@ -738,7 +738,7 @@ checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -766,7 +766,7 @@ dependencies = [ [[package]] name = "dylint-link" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "assert_cmd", @@ -781,7 +781,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -802,7 +802,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", @@ -914,7 +914,7 @@ dependencies = [ [[package]] name = "examples" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo-util", "cargo_metadata", diff --git a/cargo-dylint/Cargo.toml b/cargo-dylint/Cargo.toml index bb7d4893a..82362c069 100644 --- a/cargo-dylint/Cargo.toml +++ b/cargo-dylint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-dylint" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A tool for running Rust lints from dynamic libraries" edition = "2021" @@ -13,8 +13,8 @@ anyhow = { version = "1.0", features = ["backtrace"] } clap = { version = "4.4", features = ["cargo", "derive", "wrap_help"] } env_logger = "0.10" -dylint = { version = "=2.4.2", path = "../dylint", features = ["package_options"] } -dylint_internal = { version = "=2.4.2", path = "../internal" } +dylint = { version = "=2.4.3", path = "../dylint", features = ["package_options"] } +dylint_internal = { version = "=2.4.3", path = "../internal" } [dev-dependencies] assert_cmd = "2.0" @@ -32,4 +32,4 @@ similar-asserts = "1.5" tempfile = "3.8" walkdir = "2.4" -dylint_internal = { version = "=2.4.2", path = "../internal", features = ["testing"] } +dylint_internal = { version = "=2.4.3", path = "../internal", features = ["testing"] } diff --git a/driver/Cargo.lock b/driver/Cargo.lock index 998e86193..c2bb830c8 100644 --- a/driver/Cargo.lock +++ b/driver/Cargo.lock @@ -16,7 +16,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "dylint_driver" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "dylint_internal", @@ -29,7 +29,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "if_chain", diff --git a/driver/Cargo.toml b/driver/Cargo.toml index 6d94aaa21..4b0019864 100644 --- a/driver/Cargo.toml +++ b/driver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_driver" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "Dylint driver library" edition = "2021" @@ -15,7 +15,7 @@ log = "0.4" rustversion = "1.0" serde_json = "1.0" -dylint_internal = { version = "=2.4.2", path = "../internal", features = ["rustup"] } +dylint_internal = { version = "=2.4.3", path = "../internal", features = ["rustup"] } [workspace] diff --git a/dylint-link/Cargo.toml b/dylint-link/Cargo.toml index a1685767b..dc873d285 100644 --- a/dylint-link/Cargo.toml +++ b/dylint-link/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint-link" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A wrapper around Rust's default linker to help create Dyling libraries" edition = "2021" @@ -13,17 +13,17 @@ env_logger = "0.10" if_chain = "1.0" toml_edit = "0.20" -dylint_internal = { version = "=2.4.2", path = "../internal", features = ["cargo"] } +dylint_internal = { version = "=2.4.3", path = "../internal", features = ["cargo"] } [build-dependencies] -dylint_internal = { version = "=2.4.2", path = "../internal" } +dylint_internal = { version = "=2.4.3", path = "../internal" } [dev-dependencies] assert_cmd = "2.0" predicates = "3.0" tempfile = "3.8" -dylint_internal = { version = "=2.4.2", path = "../internal", features = ["packaging"] } +dylint_internal = { version = "=2.4.3", path = "../internal", features = ["packaging"] } [target.'cfg(target_os = "windows")'.dependencies] cc = "1.0" diff --git a/dylint/Cargo.toml b/dylint/Cargo.toml index a6cd09bfc..39d0db984 100644 --- a/dylint/Cargo.toml +++ b/dylint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A tool for running Rust lints from dynamic libraries" edition = "2021" @@ -36,7 +36,7 @@ curl-sys = { version = "0.4", features = [ "force-system-lib-on-osx", ], optional = true } -dylint_internal = { version = "=2.4.2", path = "../internal", features = [ +dylint_internal = { version = "=2.4.3", path = "../internal", features = [ "git", "packaging", "rustup", @@ -44,14 +44,14 @@ dylint_internal = { version = "=2.4.2", path = "../internal", features = [ ] } [build-dependencies] -dylint_internal = { version = "=2.4.2", path = "../internal", features = [ +dylint_internal = { version = "=2.4.3", path = "../internal", features = [ "cargo", ] } [dev-dependencies] env_logger = "0.10" -dylint_internal = { version = "=2.4.2", path = "../internal", features = [ +dylint_internal = { version = "=2.4.3", path = "../internal", features = [ "examples", ] } diff --git a/examples/Cargo.toml b/examples/Cargo.toml index b3b7bfddc..1400f3131 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "examples" -version = "2.4.2" +version = "2.4.3" description = "A dummy package for testing the example Dylint libraries" edition = "2021" license = "MIT OR Apache-2.0" @@ -12,4 +12,4 @@ cargo_metadata = "0.18" toml_edit = "0.20" walkdir = "2.4" -dylint_internal = { version = "=2.4.2", path = "../internal", features = ["clippy_utils", "examples"] } +dylint_internal = { version = "=2.4.3", path = "../internal", features = ["clippy_utils", "examples"] } diff --git a/examples/general/Cargo.lock b/examples/general/Cargo.lock index 539880273..100924afe 100644 --- a/examples/general/Cargo.lock +++ b/examples/general/Cargo.lock @@ -55,7 +55,7 @@ dependencies = [ [[package]] name = "await_holding_span_guard" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "dylint_linting", @@ -187,7 +187,7 @@ dependencies = [ [[package]] name = "crate_wide_allow" -version = "2.4.2" +version = "2.4.3" dependencies = [ "assert_cmd", "cargo_metadata", @@ -280,7 +280,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -300,7 +300,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -316,7 +316,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata", "dylint_internal", @@ -329,7 +329,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", @@ -351,7 +351,7 @@ checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "env_cargo_path" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "dylint_linting", @@ -434,7 +434,7 @@ dependencies = [ [[package]] name = "general" -version = "2.4.2" +version = "2.4.3" dependencies = [ "await_holding_span_guard", "crate_wide_allow", @@ -687,7 +687,7 @@ dependencies = [ [[package]] name = "non_local_effect_before_error_return" -version = "2.4.2" +version = "2.4.3" dependencies = [ "bitflags 2.4.0", "clippy_utils", @@ -700,7 +700,7 @@ dependencies = [ [[package]] name = "non_thread_safe_call_in_test" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "dylint_internal", @@ -1386,7 +1386,7 @@ dependencies = [ [[package]] name = "wrong_serialize_struct_arg" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/general/Cargo.toml b/examples/general/Cargo.toml index 0c48371f4..e8b0eae91 100644 --- a/examples/general/Cargo.toml +++ b/examples/general/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "general" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "General-purpose lints" edition = "2021" diff --git a/examples/general/await_holding_span_guard/Cargo.toml b/examples/general/await_holding_span_guard/Cargo.toml index fd5da47ff..2fa462e35 100644 --- a/examples/general/await_holding_span_guard/Cargo.toml +++ b/examples/general/await_holding_span_guard/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "await_holding_span_guard" -version = "2.4.2" +version = "2.4.3" authors = ["David Barsky"] description = "A lint to check for Span guards held while calling await inside an async function" edition = "2021" diff --git a/examples/general/crate_wide_allow/Cargo.toml b/examples/general/crate_wide_allow/Cargo.toml index c5bae5634..cf20fb799 100644 --- a/examples/general/crate_wide_allow/Cargo.toml +++ b/examples/general/crate_wide_allow/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "crate_wide_allow" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for `#![allow(...)]` used at the crate level" edition = "2021" diff --git a/examples/general/env_cargo_path/Cargo.toml b/examples/general/env_cargo_path/Cargo.toml index a801a47ad..cb44c5556 100644 --- a/examples/general/env_cargo_path/Cargo.toml +++ b/examples/general/env_cargo_path/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "env_cargo_path" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for `env!` applied to Cargo environment variables containing paths" edition = "2021" diff --git a/examples/general/non_local_effect_before_error_return/Cargo.toml b/examples/general/non_local_effect_before_error_return/Cargo.toml index 1b8701878..47d647c39 100644 --- a/examples/general/non_local_effect_before_error_return/Cargo.toml +++ b/examples/general/non_local_effect_before_error_return/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "non_local_effect_before_error_return" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for non-local effects before return of an error" edition = "2021" diff --git a/examples/general/non_thread_safe_call_in_test/Cargo.toml b/examples/general/non_thread_safe_call_in_test/Cargo.toml index 76fee3c48..d6b33ed19 100644 --- a/examples/general/non_thread_safe_call_in_test/Cargo.toml +++ b/examples/general/non_thread_safe_call_in_test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "non_thread_safe_call_in_test" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for non-thread-safe function calls in tests" edition = "2021" diff --git a/examples/general/wrong_serialize_struct_arg/Cargo.toml b/examples/general/wrong_serialize_struct_arg/Cargo.toml index ff29d8f66..4cb11dea6 100644 --- a/examples/general/wrong_serialize_struct_arg/Cargo.toml +++ b/examples/general/wrong_serialize_struct_arg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wrong_serialize_struct_arg" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for calls to `serialize_struct` with incorrect `len` arguments" edition = "2021" diff --git a/examples/restriction/assert_eq_arg_misordering/Cargo.lock b/examples/restriction/assert_eq_arg_misordering/Cargo.lock index 152201445..074d954c5 100644 --- a/examples/restriction/assert_eq_arg_misordering/Cargo.lock +++ b/examples/restriction/assert_eq_arg_misordering/Cargo.lock @@ -34,7 +34,7 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" [[package]] name = "assert_eq_arg_misordering" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "dylint_linting", @@ -233,7 +233,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -253,7 +253,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -269,7 +269,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata", "dylint_internal", @@ -282,7 +282,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", diff --git a/examples/restriction/assert_eq_arg_misordering/Cargo.toml b/examples/restriction/assert_eq_arg_misordering/Cargo.toml index a770ff25f..fe64f944b 100644 --- a/examples/restriction/assert_eq_arg_misordering/Cargo.toml +++ b/examples/restriction/assert_eq_arg_misordering/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "assert_eq_arg_misordering" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for `assert_eq!(actual, expected)`" edition = "2021" diff --git a/examples/restriction/collapsible_unwrap/Cargo.lock b/examples/restriction/collapsible_unwrap/Cargo.lock index 20714c761..2bdfcf469 100644 --- a/examples/restriction/collapsible_unwrap/Cargo.lock +++ b/examples/restriction/collapsible_unwrap/Cargo.lock @@ -124,7 +124,7 @@ dependencies = [ [[package]] name = "collapsible_unwrap" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "dylint_linting", @@ -235,7 +235,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -255,7 +255,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -271,7 +271,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata", "dylint_internal", @@ -284,7 +284,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", diff --git a/examples/restriction/collapsible_unwrap/Cargo.toml b/examples/restriction/collapsible_unwrap/Cargo.toml index cdb0b4bd3..bbb8042dd 100644 --- a/examples/restriction/collapsible_unwrap/Cargo.toml +++ b/examples/restriction/collapsible_unwrap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "collapsible_unwrap" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for an `unwrap` that could be combined with an `expect` or `unwrap` using `and_then`" edition = "2021" diff --git a/examples/restriction/const_path_join/Cargo.lock b/examples/restriction/const_path_join/Cargo.lock index 5be1b1c3e..a020722f8 100644 --- a/examples/restriction/const_path_join/Cargo.lock +++ b/examples/restriction/const_path_join/Cargo.lock @@ -146,7 +146,7 @@ dependencies = [ [[package]] name = "const_path_join" -version = "2.4.2" +version = "2.4.3" dependencies = [ "camino", "clippy_utils", @@ -235,7 +235,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -255,7 +255,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -271,7 +271,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata", "dylint_internal", @@ -284,7 +284,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", diff --git a/examples/restriction/const_path_join/Cargo.toml b/examples/restriction/const_path_join/Cargo.toml index 857a081d7..47705c2a0 100644 --- a/examples/restriction/const_path_join/Cargo.toml +++ b/examples/restriction/const_path_join/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "const_path_join" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for joining of constant path components" edition = "2021" diff --git a/examples/restriction/derive_opportunity/Cargo.lock b/examples/restriction/derive_opportunity/Cargo.lock index 0139c220a..849ec1eab 100644 --- a/examples/restriction/derive_opportunity/Cargo.lock +++ b/examples/restriction/derive_opportunity/Cargo.lock @@ -165,7 +165,7 @@ dependencies = [ [[package]] name = "derive_opportunity" -version = "2.4.2" +version = "2.4.3" dependencies = [ "bitflags 2.4.0", "clippy_utils", @@ -238,7 +238,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -258,7 +258,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -274,7 +274,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata", "dylint_internal", @@ -287,7 +287,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", diff --git a/examples/restriction/derive_opportunity/Cargo.toml b/examples/restriction/derive_opportunity/Cargo.toml index 2699baa00..242f6bf24 100644 --- a/examples/restriction/derive_opportunity/Cargo.toml +++ b/examples/restriction/derive_opportunity/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "derive_opportunity" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for traits that could be derived" edition = "2021" diff --git a/examples/restriction/env_literal/Cargo.lock b/examples/restriction/env_literal/Cargo.lock index 790130ab0..32ca30570 100644 --- a/examples/restriction/env_literal/Cargo.lock +++ b/examples/restriction/env_literal/Cargo.lock @@ -223,7 +223,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -243,7 +243,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -259,7 +259,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata", "dylint_internal", @@ -272,7 +272,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", @@ -294,7 +294,7 @@ checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "env_literal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/restriction/env_literal/Cargo.toml b/examples/restriction/env_literal/Cargo.toml index ed2f81250..f24c248d1 100644 --- a/examples/restriction/env_literal/Cargo.toml +++ b/examples/restriction/env_literal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "env_literal" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for environment variables referred to with string literals" edition = "2021" diff --git a/examples/restriction/inconsistent_qualification/Cargo.lock b/examples/restriction/inconsistent_qualification/Cargo.lock index 61d315ece..83a36ccdf 100644 --- a/examples/restriction/inconsistent_qualification/Cargo.lock +++ b/examples/restriction/inconsistent_qualification/Cargo.lock @@ -253,7 +253,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -273,7 +273,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -289,7 +289,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata", "dylint_internal", @@ -302,7 +302,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", @@ -504,7 +504,7 @@ checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" [[package]] name = "inconsistent_qualification" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "diesel", diff --git a/examples/restriction/inconsistent_qualification/Cargo.toml b/examples/restriction/inconsistent_qualification/Cargo.toml index 27456aa1e..4e7929bfe 100644 --- a/examples/restriction/inconsistent_qualification/Cargo.toml +++ b/examples/restriction/inconsistent_qualification/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "inconsistent_qualification" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for inconsistent qualification of module items" edition = "2021" diff --git a/examples/restriction/misleading_variable_name/Cargo.lock b/examples/restriction/misleading_variable_name/Cargo.lock index d794824d5..7c001ca59 100644 --- a/examples/restriction/misleading_variable_name/Cargo.lock +++ b/examples/restriction/misleading_variable_name/Cargo.lock @@ -223,7 +223,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -243,7 +243,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -259,7 +259,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata", "dylint_internal", @@ -272,7 +272,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", @@ -598,7 +598,7 @@ dependencies = [ [[package]] name = "misleading_variable_name" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", diff --git a/examples/restriction/misleading_variable_name/Cargo.toml b/examples/restriction/misleading_variable_name/Cargo.toml index edaa81d94..fdde7b0d5 100644 --- a/examples/restriction/misleading_variable_name/Cargo.toml +++ b/examples/restriction/misleading_variable_name/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "misleading_variable_name" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for variables whose names suggest they have types other than the ones they have" edition = "2021" diff --git a/examples/restriction/missing_doc_comment_openai/Cargo.lock b/examples/restriction/missing_doc_comment_openai/Cargo.lock index 89c413b38..af97137b9 100644 --- a/examples/restriction/missing_doc_comment_openai/Cargo.lock +++ b/examples/restriction/missing_doc_comment_openai/Cargo.lock @@ -253,7 +253,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -273,7 +273,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -289,7 +289,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata", "dylint_internal", @@ -302,7 +302,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", @@ -628,7 +628,7 @@ dependencies = [ [[package]] name = "missing_doc_comment_openai" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "curl", diff --git a/examples/restriction/missing_doc_comment_openai/Cargo.toml b/examples/restriction/missing_doc_comment_openai/Cargo.toml index 449db5bca..36792e8c0 100644 --- a/examples/restriction/missing_doc_comment_openai/Cargo.toml +++ b/examples/restriction/missing_doc_comment_openai/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "missing_doc_comment_openai" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint that suggests doc comments using OpenAI" edition = "2021" diff --git a/examples/restriction/overscoped_allow/Cargo.lock b/examples/restriction/overscoped_allow/Cargo.lock index c4fd71064..99d0952fe 100644 --- a/examples/restriction/overscoped_allow/Cargo.lock +++ b/examples/restriction/overscoped_allow/Cargo.lock @@ -257,7 +257,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -277,7 +277,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -293,7 +293,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata", "dylint_internal", @@ -306,7 +306,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", @@ -681,7 +681,7 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "overscoped_allow" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "assert_cmd", diff --git a/examples/restriction/overscoped_allow/Cargo.toml b/examples/restriction/overscoped_allow/Cargo.toml index 806884581..38a82cb6b 100644 --- a/examples/restriction/overscoped_allow/Cargo.toml +++ b/examples/restriction/overscoped_allow/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "overscoped_allow" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for `allow` attributes whose scope could be reduced" edition = "2021" diff --git a/examples/restriction/question_mark_in_expression/Cargo.lock b/examples/restriction/question_mark_in_expression/Cargo.lock index 9be253abc..772e5d567 100644 --- a/examples/restriction/question_mark_in_expression/Cargo.lock +++ b/examples/restriction/question_mark_in_expression/Cargo.lock @@ -223,7 +223,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -243,7 +243,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -259,7 +259,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata", "dylint_internal", @@ -272,7 +272,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", @@ -665,7 +665,7 @@ dependencies = [ [[package]] name = "question_mark_in_expression" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "dylint_linting", diff --git a/examples/restriction/question_mark_in_expression/Cargo.toml b/examples/restriction/question_mark_in_expression/Cargo.toml index 92111bfb0..774b81e02 100644 --- a/examples/restriction/question_mark_in_expression/Cargo.toml +++ b/examples/restriction/question_mark_in_expression/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "question_mark_in_expression" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for the `?` operator in expressions" edition = "2021" diff --git a/examples/restriction/ref_aware_redundant_closure_for_method_calls/Cargo.lock b/examples/restriction/ref_aware_redundant_closure_for_method_calls/Cargo.lock index cc67490bf..681cda428 100644 --- a/examples/restriction/ref_aware_redundant_closure_for_method_calls/Cargo.lock +++ b/examples/restriction/ref_aware_redundant_closure_for_method_calls/Cargo.lock @@ -223,7 +223,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -243,7 +243,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -259,7 +259,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata", "dylint_internal", @@ -272,7 +272,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", @@ -703,7 +703,7 @@ dependencies = [ [[package]] name = "ref_aware_redundant_closure_for_method_calls" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/restriction/ref_aware_redundant_closure_for_method_calls/Cargo.toml b/examples/restriction/ref_aware_redundant_closure_for_method_calls/Cargo.toml index 3320bae95..225150f2f 100644 --- a/examples/restriction/ref_aware_redundant_closure_for_method_calls/Cargo.toml +++ b/examples/restriction/ref_aware_redundant_closure_for_method_calls/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ref_aware_redundant_closure_for_method_calls" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A ref-aware fork of `redundant_closure_for_method_calls`" edition = "2021" diff --git a/examples/restriction/suboptimal_pattern/Cargo.lock b/examples/restriction/suboptimal_pattern/Cargo.lock index c24b3bc3b..01ab984c8 100644 --- a/examples/restriction/suboptimal_pattern/Cargo.lock +++ b/examples/restriction/suboptimal_pattern/Cargo.lock @@ -223,7 +223,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -243,7 +243,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -259,7 +259,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata", "dylint_internal", @@ -272,7 +272,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", @@ -888,7 +888,7 @@ dependencies = [ [[package]] name = "suboptimal_pattern" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "dylint_linting", diff --git a/examples/restriction/suboptimal_pattern/Cargo.toml b/examples/restriction/suboptimal_pattern/Cargo.toml index 5e388d216..bec1ef9f1 100644 --- a/examples/restriction/suboptimal_pattern/Cargo.toml +++ b/examples/restriction/suboptimal_pattern/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "suboptimal_pattern" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for patterns that could perform additional destructuring" edition = "2021" diff --git a/examples/restriction/try_io_result/Cargo.lock b/examples/restriction/try_io_result/Cargo.lock index 0c0fc3abe..16aa9289d 100644 --- a/examples/restriction/try_io_result/Cargo.lock +++ b/examples/restriction/try_io_result/Cargo.lock @@ -223,7 +223,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -243,7 +243,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -259,7 +259,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata", "dylint_internal", @@ -272,7 +272,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", @@ -1014,7 +1014,7 @@ dependencies = [ [[package]] name = "try_io_result" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "clippy_utils", diff --git a/examples/restriction/try_io_result/Cargo.toml b/examples/restriction/try_io_result/Cargo.toml index fae450eb6..68f7dfb7a 100644 --- a/examples/restriction/try_io_result/Cargo.toml +++ b/examples/restriction/try_io_result/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "try_io_result" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for the `?` operator applied to `std::io::Result`" edition = "2021" diff --git a/examples/supplementary/Cargo.lock b/examples/supplementary/Cargo.lock index 814f21d37..941d06327 100644 --- a/examples/supplementary/Cargo.lock +++ b/examples/supplementary/Cargo.lock @@ -124,7 +124,7 @@ dependencies = [ [[package]] name = "commented_code" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "dylint_linting", @@ -236,7 +236,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -256,7 +256,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -272,7 +272,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata", "dylint_internal", @@ -285,7 +285,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", @@ -716,7 +716,7 @@ dependencies = [ [[package]] name = "redundant_reference" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "dylint_linting", @@ -912,7 +912,7 @@ dependencies = [ [[package]] name = "supplementary" -version = "2.4.2" +version = "2.4.3" dependencies = [ "commented_code", "dylint_linting", @@ -1083,7 +1083,7 @@ checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "unnamed_constant" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "dylint_linting", @@ -1094,7 +1094,7 @@ dependencies = [ [[package]] name = "unnecessary_borrow_mut" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "dylint_internal", @@ -1105,7 +1105,7 @@ dependencies = [ [[package]] name = "unnecessary_conversion_for_trait" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/supplementary/Cargo.toml b/examples/supplementary/Cargo.toml index c456a8d5c..6e4474ffa 100644 --- a/examples/supplementary/Cargo.toml +++ b/examples/supplementary/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "supplementary" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "Supplementary lints" edition = "2021" diff --git a/examples/supplementary/commented_code/Cargo.toml b/examples/supplementary/commented_code/Cargo.toml index 464ad47f2..5c3a33ede 100644 --- a/examples/supplementary/commented_code/Cargo.toml +++ b/examples/supplementary/commented_code/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "commented_code" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for code that has been commented out" edition = "2021" diff --git a/examples/supplementary/redundant_reference/Cargo.toml b/examples/supplementary/redundant_reference/Cargo.toml index 8f46ae8af..f4224f44c 100644 --- a/examples/supplementary/redundant_reference/Cargo.toml +++ b/examples/supplementary/redundant_reference/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "redundant_reference" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for reference fields used only to read one copyable subfield" edition = "2021" diff --git a/examples/supplementary/unnamed_constant/Cargo.toml b/examples/supplementary/unnamed_constant/Cargo.toml index db962de07..3844bcb8d 100644 --- a/examples/supplementary/unnamed_constant/Cargo.toml +++ b/examples/supplementary/unnamed_constant/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unnamed_constant" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for unnamed constants, aka magic numbers" edition = "2021" diff --git a/examples/supplementary/unnecessary_borrow_mut/Cargo.toml b/examples/supplementary/unnecessary_borrow_mut/Cargo.toml index d10b55989..31422814a 100644 --- a/examples/supplementary/unnecessary_borrow_mut/Cargo.toml +++ b/examples/supplementary/unnecessary_borrow_mut/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unnecessary_borrow_mut" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for calls to `RefCell::borrow_mut` that could be `RefCell::borrow`" edition = "2021" diff --git a/examples/supplementary/unnecessary_conversion_for_trait/Cargo.toml b/examples/supplementary/unnecessary_conversion_for_trait/Cargo.toml index 21f518a85..4640e5084 100644 --- a/examples/supplementary/unnecessary_conversion_for_trait/Cargo.toml +++ b/examples/supplementary/unnecessary_conversion_for_trait/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unnecessary_conversion_for_trait" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint to check for unnecessary trait-behavior-preserving calls" edition = "2021" diff --git a/examples/testing/clippy/Cargo.lock b/examples/testing/clippy/Cargo.lock index a6102a3dc..01d8cdcfe 100644 --- a/examples/testing/clippy/Cargo.lock +++ b/examples/testing/clippy/Cargo.lock @@ -127,7 +127,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clippy" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata 0.18.0", @@ -288,7 +288,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -308,7 +308,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -324,7 +324,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata 0.18.0", "dylint_internal", @@ -337,7 +337,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata 0.18.0", diff --git a/examples/testing/clippy/Cargo.toml b/examples/testing/clippy/Cargo.toml index 4a2974bc3..8c4919b8c 100644 --- a/examples/testing/clippy/Cargo.toml +++ b/examples/testing/clippy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clippy" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "All of the Clippy lints as a Dylint library" edition = "2021" diff --git a/examples/testing/straggler/Cargo.lock b/examples/testing/straggler/Cargo.lock index b7b933ec0..c15cde482 100644 --- a/examples/testing/straggler/Cargo.lock +++ b/examples/testing/straggler/Cargo.lock @@ -223,7 +223,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -243,7 +243,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "ansi_term", "anyhow", @@ -259,7 +259,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "cargo_metadata", "dylint_internal", @@ -272,7 +272,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "cargo_metadata", @@ -888,7 +888,7 @@ dependencies = [ [[package]] name = "straggler" -version = "2.4.2" +version = "2.4.3" dependencies = [ "clippy_utils", "dylint_linting", diff --git a/examples/testing/straggler/Cargo.toml b/examples/testing/straggler/Cargo.toml index 8c8fafc5a..ea99611a2 100644 --- a/examples/testing/straggler/Cargo.toml +++ b/examples/testing/straggler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "straggler" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "A lint that uses an old toolchain for testing purposes" edition = "2021" diff --git a/internal/Cargo.toml b/internal/Cargo.toml index 00ffaae9a..522b07176 100644 --- a/internal/Cargo.toml +++ b/internal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "Dylint internals" edition = "2021" diff --git a/internal/template/Cargo.toml~ b/internal/template/Cargo.toml~ index 1ad76057f..cc95b9ef1 100644 --- a/internal/template/Cargo.toml~ +++ b/internal/template/Cargo.toml~ @@ -11,11 +11,11 @@ crate-type = ["cdylib"] [dependencies] clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "acdffd791b31d96cdeb15368132e8ca91f2089af" } -dylint_linting = "2.4.2" +dylint_linting = "2.4.3" if_chain = "1.0.2" [dev-dependencies] -dylint_testing = "2.4.2" +dylint_testing = "2.4.3" [workspace] diff --git a/utils/linting/Cargo.lock b/utils/linting/Cargo.lock index e56d632df..8ed0986fe 100644 --- a/utils/linting/Cargo.lock +++ b/utils/linting/Cargo.lock @@ -86,7 +86,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint_internal" -version = "2.4.2" +version = "2.4.3" dependencies = [ "anyhow", "if_chain", @@ -94,7 +94,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" dependencies = [ "assert_cmd", "cargo_metadata", diff --git a/utils/linting/Cargo.toml b/utils/linting/Cargo.toml index 8141ca115..1f971e59f 100644 --- a/utils/linting/Cargo.toml +++ b/utils/linting/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_linting" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "Utilities for writing Dylint libraries" edition = "2021" @@ -15,7 +15,7 @@ serde = "1.0" thiserror = "1.0" toml = "0.8" -dylint_internal = { version = "=2.4.2", path = "../../internal" } +dylint_internal = { version = "=2.4.3", path = "../../internal" } [build-dependencies] toml = "0.8" diff --git a/utils/testing/Cargo.toml b/utils/testing/Cargo.toml index e90731572..4af3b51de 100644 --- a/utils/testing/Cargo.toml +++ b/utils/testing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_testing" -version = "2.4.2" +version = "2.4.3" authors = ["Samuel E. Moelius III "] description = "Utilities for testing Dylint libraries" edition = "2021" @@ -17,5 +17,5 @@ regex = "1.9" serde_json = "1.0" tempfile = "3.8" -dylint = { version = "=2.4.2", path = "../../dylint", default-features = false } -dylint_internal = { version = "=2.4.2", path = "../../internal" } +dylint = { version = "=2.4.3", path = "../../dylint", default-features = false } +dylint_internal = { version = "=2.4.3", path = "../../internal" }