diff options
| author | Ryan Levick <me@ryanlevick.com> | 2021-06-29 20:33:31 +0200 |
|---|---|---|
| committer | Ryan Levick <me@ryanlevick.com> | 2021-07-06 20:12:56 +0200 |
| commit | a902e25f589b929b65bd0b55abdeb2f22796401a (patch) | |
| tree | e4aba51e9f649d0afa8860bc4f219221b7937dc8 /src/tools/clippy/tests/ui | |
| parent | 4e5b78fdcf29142a20c3ba1af6aac20f82833729 (diff) | |
| download | rust-a902e25f589b929b65bd0b55abdeb2f22796401a.tar.gz rust-a902e25f589b929b65bd0b55abdeb2f22796401a.zip | |
Add s to non_fmt_panic
Diffstat (limited to 'src/tools/clippy/tests/ui')
| -rw-r--r-- | src/tools/clippy/tests/ui/assertions_on_constants.rs | 2 | ||||
| -rw-r--r-- | src/tools/clippy/tests/ui/deprecated.stderr | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/clippy/tests/ui/assertions_on_constants.rs b/src/tools/clippy/tests/ui/assertions_on_constants.rs index 6617ca183a8..2180f848d62 100644 --- a/src/tools/clippy/tests/ui/assertions_on_constants.rs +++ b/src/tools/clippy/tests/ui/assertions_on_constants.rs @@ -1,4 +1,4 @@ -#![allow(non_fmt_panic)] +#![allow(non_fmt_panics)] macro_rules! assert_const { ($len:expr) => { diff --git a/src/tools/clippy/tests/ui/deprecated.stderr b/src/tools/clippy/tests/ui/deprecated.stderr index 0af6b500115..c0002e53543 100644 --- a/src/tools/clippy/tests/ui/deprecated.stderr +++ b/src/tools/clippy/tests/ui/deprecated.stderr @@ -60,11 +60,11 @@ error: lint `clippy::temporary_cstring_as_ptr` has been renamed to `temporary_cs LL | #[warn(clippy::temporary_cstring_as_ptr)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `temporary_cstring_as_ptr` -error: lint `clippy::panic_params` has been renamed to `non_fmt_panic` +error: lint `clippy::panic_params` has been renamed to `non_fmt_panics` --> $DIR/deprecated.rs:11:8 | LL | #[warn(clippy::panic_params)] - | ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `non_fmt_panic` + | ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `non_fmt_panics` error: lint `clippy::unknown_clippy_lints` has been renamed to `unknown_lints` --> $DIR/deprecated.rs:12:8 |
