2022-10-23 08:18:45 -05:00
|
|
|
error: missing trait method provided by default: `provided`
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_trait_methods.rs:22:1
|
2022-10-23 08:18:45 -05:00
|
|
|
|
|
|
|
|
LL | impl A for Partial {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: implement the method
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_trait_methods.rs:5:5
|
2022-10-23 08:18:45 -05:00
|
|
|
|
|
|
|
|
LL | fn provided() {}
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
= note: `-D clippy::missing-trait-methods` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::missing_trait_methods)]`
|
2022-10-23 08:18:45 -05:00
|
|
|
|
|
|
|
error: missing trait method provided by default: `b`
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_trait_methods.rs:25:1
|
2022-10-23 08:18:45 -05:00
|
|
|
|
|
|
|
|
LL | impl B for Partial {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: implement the method
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_trait_methods.rs:15:5
|
2022-10-23 08:18:45 -05:00
|
|
|
|
|
|
|
|
LL | fn b<'a, T: AsRef<[u8]>>(a: &'a T) -> &'a [u8] {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2024-08-08 12:13:50 -05:00
|
|
|
error: missing trait method provided by default: `one`
|
|
|
|
--> tests/ui/missing_trait_methods.rs:58:1
|
|
|
|
|
|
|
|
|
LL | impl MissingMultiple for Partial {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: implement the method
|
|
|
|
--> tests/ui/missing_trait_methods.rs:53:5
|
|
|
|
|
|
|
|
|
LL | fn one() {}
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing trait method provided by default: `two`
|
|
|
|
--> tests/ui/missing_trait_methods.rs:58:1
|
|
|
|
|
|
|
|
|
LL | impl MissingMultiple for Partial {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: implement the method
|
|
|
|
--> tests/ui/missing_trait_methods.rs:54:5
|
|
|
|
|
|
|
|
|
LL | fn two() {}
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: missing trait method provided by default: `three`
|
|
|
|
--> tests/ui/missing_trait_methods.rs:58:1
|
|
|
|
|
|
|
|
|
LL | impl MissingMultiple for Partial {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: implement the method
|
|
|
|
--> tests/ui/missing_trait_methods.rs:55:5
|
|
|
|
|
|
|
|
|
LL | fn three() {}
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
2022-10-23 08:18:45 -05:00
|
|
|
|