diff options
| author | Urgau <urgau@numericable.fr> | 2023-08-01 14:02:21 +0200 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2023-09-04 14:22:02 +0200 |
| commit | 9190e960e1c6b2c2e73c23e85545656ab1577761 (patch) | |
| tree | a5bd69972f411bd87fa1f7b3f7a509f0c569b077 /src/tools/clippy/tests/ui-toml/disallowed_names_replace | |
| parent | efbe445ba790b5c416bb48df030807a2df2f9f28 (diff) | |
| download | rust-9190e960e1c6b2c2e73c23e85545656ab1577761.tar.gz rust-9190e960e1c6b2c2e73c23e85545656ab1577761.zip | |
Adjust clippy tests with new rustc help suggestion for lints
Diffstat (limited to 'src/tools/clippy/tests/ui-toml/disallowed_names_replace')
| -rw-r--r-- | src/tools/clippy/tests/ui-toml/disallowed_names_replace/disallowed_names.stderr | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui-toml/disallowed_names_replace/disallowed_names.stderr b/src/tools/clippy/tests/ui-toml/disallowed_names_replace/disallowed_names.stderr index d961fa34074..d9f25a3eee5 100644 --- a/src/tools/clippy/tests/ui-toml/disallowed_names_replace/disallowed_names.stderr +++ b/src/tools/clippy/tests/ui-toml/disallowed_names_replace/disallowed_names.stderr @@ -5,6 +5,7 @@ LL | let ducks = ["quack", "quack"]; | ^^^^^ | = note: `-D clippy::disallowed-names` implied by `-D warnings` + = help: to override `-D warnings` add `#[allow(clippy::disallowed_names)]` error: aborting due to previous error |
