61 lines
2.0 KiB
Plaintext
61 lines
2.0 KiB
Plaintext
|
error: function parameter name was renamed from its trait default
|
||
|
--> $DIR/renamed_function_params.rs:21:13
|
||
|
|
|
||
|
LL | fn from(b: B) -> Self {
|
||
|
| ^
|
||
|
|
|
||
|
= help: consider changing the name to: 'value'
|
||
|
= note: `-D clippy::renamed-function-params` implied by `-D warnings`
|
||
|
= help: to override `-D warnings` add `#[allow(clippy::renamed_function_params)]`
|
||
|
|
||
|
error: function parameter name was renamed from its trait default
|
||
|
--> $DIR/renamed_function_params.rs:27:18
|
||
|
|
|
||
|
LL | fn eq(&self, rhs: &Self) -> bool {
|
||
|
| ^^^
|
||
|
|
|
||
|
= help: consider changing the name to: 'other'
|
||
|
|
||
|
error: function parameter name was renamed from its trait default
|
||
|
--> $DIR/renamed_function_params.rs:31:18
|
||
|
|
|
||
|
LL | fn ne(&self, rhs: &Self) -> bool {
|
||
|
| ^^^
|
||
|
|
|
||
|
= help: consider changing the name to: 'other'
|
||
|
|
||
|
error: function parameter name was renamed from its trait default
|
||
|
--> $DIR/renamed_function_params.rs:44:19
|
||
|
|
|
||
|
LL | fn foo(&self, i_dont_wanna_use_your_name: u8) {}
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= help: consider changing the name to: 'val'
|
||
|
|
||
|
error: function parameter name was renamed from its trait default
|
||
|
--> $DIR/renamed_function_params.rs:51:31
|
||
|
|
|
||
|
LL | fn hash<H: Hasher>(&self, states: &mut H) {
|
||
|
| ^^^^^^
|
||
|
|
|
||
|
= help: consider changing the name to: 'state'
|
||
|
|
||
|
error: function parameter name was renamed from its trait default
|
||
|
--> $DIR/renamed_function_params.rs:55:30
|
||
|
|
|
||
|
LL | fn hash_slice<H: Hasher>(date: &[Self], states: &mut H) {
|
||
|
| ^^^^
|
||
|
|
|
||
|
= help: consider changing the name to: 'data'
|
||
|
|
||
|
error: function parameter name was renamed from its trait default
|
||
|
--> $DIR/renamed_function_params.rs:55:45
|
||
|
|
|
||
|
LL | fn hash_slice<H: Hasher>(date: &[Self], states: &mut H) {
|
||
|
| ^^^^^^
|
||
|
|
|
||
|
= help: consider changing the name to: 'state'
|
||
|
|
||
|
error: aborting due to 7 previous errors
|
||
|
|