2024-03-28 08:29:52 +00:00
|
|
|
error: renamed function parameter of trait impl
|
2024-05-12 14:13:17 +00:00
|
|
|
--> tests/ui-toml/renamed_function_params/renamed_function_params.rs:30:18
|
2023-09-20 11:05:37 +00:00
|
|
|
|
|
2024-05-12 14:13:17 +00:00
|
|
|
LL | fn eq(&self, rhs: &Self) -> bool {
|
|
|
|
| ^^^ help: consider using the default name: `other`
|
2023-09-20 11:05:37 +00:00
|
|
|
|
|
|
|
|
= note: `-D clippy::renamed-function-params` implied by `-D warnings`
|
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::renamed_function_params)]`
|
|
|
|
|
2024-03-28 08:29:52 +00:00
|
|
|
error: renamed function parameter of trait impl
|
2024-05-12 14:13:17 +00:00
|
|
|
--> tests/ui-toml/renamed_function_params/renamed_function_params.rs:34:18
|
2023-09-20 11:05:37 +00:00
|
|
|
|
|
|
|
|
LL | fn ne(&self, rhs: &Self) -> bool {
|
2024-03-28 08:29:52 +00:00
|
|
|
| ^^^ help: consider using the default name: `other`
|
2023-09-20 11:05:37 +00:00
|
|
|
|
2024-03-28 08:29:52 +00:00
|
|
|
error: renamed function parameter of trait impl
|
2024-05-12 14:13:17 +00:00
|
|
|
--> tests/ui-toml/renamed_function_params/renamed_function_params.rs:55:31
|
2023-09-20 11:05:37 +00:00
|
|
|
|
|
|
|
|
LL | fn hash<H: Hasher>(&self, states: &mut H) {
|
2024-03-28 08:29:52 +00:00
|
|
|
| ^^^^^^ help: consider using the default name: `state`
|
2023-09-20 11:05:37 +00:00
|
|
|
|
2024-03-28 08:29:52 +00:00
|
|
|
error: renamed function parameters of trait impl
|
2024-05-12 14:13:17 +00:00
|
|
|
--> tests/ui-toml/renamed_function_params/renamed_function_params.rs:59:30
|
2023-09-20 11:05:37 +00:00
|
|
|
|
|
|
|
|
LL | fn hash_slice<H: Hasher>(date: &[Self], states: &mut H) {
|
2024-03-28 08:29:52 +00:00
|
|
|
| ^^^^ ^^^^^^
|
2023-09-20 11:05:37 +00:00
|
|
|
|
|
2024-03-28 08:29:52 +00:00
|
|
|
help: consider using the default names
|
2023-09-20 11:05:37 +00:00
|
|
|
|
|
2024-03-28 08:29:52 +00:00
|
|
|
LL | fn hash_slice<H: Hasher>(data: &[Self], state: &mut H) {
|
|
|
|
| ~~~~ ~~~~~
|
|
|
|
|
2024-05-12 14:13:17 +00:00
|
|
|
error: aborting due to 4 previous errors
|
2023-09-20 11:05:37 +00:00
|
|
|
|