diff options
| author | bors <bors@rust-lang.org> | 2022-10-28 00:34:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-10-28 00:34:32 +0000 |
| commit | cdd7afeaadf1c48eafb4dff4452439fa5d13a775 (patch) | |
| tree | 4ffa4f8f9eaab666a40ca2eeb9cf12e5692227c6 | |
| parent | 126dbdc9c78446ad4cf41f5f8510a7cee59ff966 (diff) | |
| parent | 3f241086627b3c68a2abec0776ffff8037deaad9 (diff) | |
| download | rust-cdd7afeaadf1c48eafb4dff4452439fa5d13a775.tar.gz rust-cdd7afeaadf1c48eafb4dff4452439fa5d13a775.zip | |
Auto merge of #103654 - flip1995:clippy_backport, r=Manishearth
Move clippy::uninlined_format_args back to pedantic Before `beta` is branched tomorrow we want to move this lint back to `pedantic` so that it is not enabled by default. Clippy PR: https://github.com/rust-lang/rust-clippy/pull/9728 Zulip discussion: https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/.60uninlined_format_args.60.20category/near/306306974 r? `@Manishearth`
4 files changed, 2 insertions, 3 deletions
diff --git a/src/tools/clippy/clippy_lints/src/format_args.rs b/src/tools/clippy/clippy_lints/src/format_args.rs index 32073536b45..f0fe845d330 100644 --- a/src/tools/clippy/clippy_lints/src/format_args.rs +++ b/src/tools/clippy/clippy_lints/src/format_args.rs @@ -115,7 +115,7 @@ declare_clippy_lint! { /// nothing will be suggested, e.g. `println!("{0}={1}", var, 1+2)`. #[clippy::version = "1.65.0"] pub UNINLINED_FORMAT_ARGS, - style, + pedantic, "using non-inlined variables in `format!` calls" } diff --git a/src/tools/clippy/clippy_lints/src/lib.register_all.rs b/src/tools/clippy/clippy_lints/src/lib.register_all.rs index f5ad52ba189..c455e1561b7 100644 --- a/src/tools/clippy/clippy_lints/src/lib.register_all.rs +++ b/src/tools/clippy/clippy_lints/src/lib.register_all.rs @@ -72,7 +72,6 @@ store.register_group(true, "clippy::all", Some("clippy_all"), vec