Skip to content

Commit

Permalink
Update lint test
Browse files Browse the repository at this point in the history
```
error: lint `unused_tuple_struct_fields` has been renamed to `dead_code`
  --> tests/lint.rs:46:5
   |
46 |     unused_tuple_struct_fields,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dead_code`
   |
   = note: `-D renamed-and-removed-lints` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(renamed_and_removed_lints)]`
```
  • Loading branch information
taiki-e committed Jan 6, 2024
1 parent 675c6cb commit 103d9f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/lint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
unused_lifetimes,
unused_qualifications,
unused_results,
unused_tuple_struct_fields,
variant_size_differences
)]
#![warn(clippy::all, clippy::pedantic, clippy::nursery, clippy::restriction)]
Expand Down

0 comments on commit 103d9f6

Please sign in to comment.