| error: renamed function parameter of trait impl |
| --> tests/ui-toml/renamed_function_params/renamed_function_params.rs:29:18 |
| | |
| LL | fn eq(&self, rhs: &Self) -> bool { |
| | ^^^ |
| | |
| = note: `-D clippy::renamed-function-params` implied by `-D warnings` |
| = help: to override `-D warnings` add `#[allow(clippy::renamed_function_params)]` |
| help: consider using the default name |
| | |
| LL - fn eq(&self, rhs: &Self) -> bool { |
| LL + fn eq(&self, other: &Self) -> bool { |
| | |
| |
| error: renamed function parameter of trait impl |
| --> tests/ui-toml/renamed_function_params/renamed_function_params.rs:33:18 |
| | |
| LL | fn ne(&self, rhs: &Self) -> bool { |
| | ^^^ |
| | |
| help: consider using the default name |
| | |
| LL - fn ne(&self, rhs: &Self) -> bool { |
| LL + fn ne(&self, other: &Self) -> bool { |
| | |
| |
| error: renamed function parameter of trait impl |
| --> tests/ui-toml/renamed_function_params/renamed_function_params.rs:47:19 |
| | |
| LL | fn foo(&self, i_dont_wanna_use_your_name: u8) {} // only lint in `extend` |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: consider using the default name |
| | |
| LL - fn foo(&self, i_dont_wanna_use_your_name: u8) {} // only lint in `extend` |
| LL + fn foo(&self, val: u8) {} // only lint in `extend` |
| | |
| |
| error: renamed function parameter of trait impl |
| --> tests/ui-toml/renamed_function_params/renamed_function_params.rs:56:31 |
| | |
| LL | fn hash<H: Hasher>(&self, states: &mut H) { |
| | ^^^^^^ |
| | |
| help: consider using the default name |
| | |
| LL - fn hash<H: Hasher>(&self, states: &mut H) { |
| LL + fn hash<H: Hasher>(&self, state: &mut H) { |
| | |
| |
| error: renamed function parameters of trait impl |
| --> tests/ui-toml/renamed_function_params/renamed_function_params.rs:60:30 |
| | |
| LL | fn hash_slice<H: Hasher>(date: &[Self], states: &mut H) { |
| | ^^^^ ^^^^^^ |
| | |
| help: consider using the default names |
| | |
| LL - fn hash_slice<H: Hasher>(date: &[Self], states: &mut H) { |
| LL + fn hash_slice<H: Hasher>(data: &[Self], state: &mut H) { |
| | |
| |
| error: renamed function parameter of trait impl |
| --> tests/ui-toml/renamed_function_params/renamed_function_params.rs:81:18 |
| | |
| LL | fn add(self, b: B) -> C { |
| | ^ |
| | |
| help: consider using the default name |
| | |
| LL - fn add(self, b: B) -> C { |
| LL + fn add(self, rhs: B) -> C { |
| | |
| |
| error: aborting due to 6 previous errors |
| |