blob: d9fb8951ab3db482945c982e86a70dbbdbb4b21b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
error: missing trait method provided by default: `provided`
--> tests/ui/missing_trait_methods.rs:22:1
|
LL | impl A for Partial {}
| ^^^^^^^^^^^^^^^^^^
|
help: implement the method
--> tests/ui/missing_trait_methods.rs:5:5
|
LL | fn provided() {}
| ^^^^^^^^^^^^^
= note: `-D clippy::missing-trait-methods` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::missing_trait_methods)]`
error: missing trait method provided by default: `b`
--> tests/ui/missing_trait_methods.rs:25:1
|
LL | impl B for Partial {
| ^^^^^^^^^^^^^^^^^^
|
help: implement the method
--> tests/ui/missing_trait_methods.rs:15:5
|
LL | fn b<'a, T: AsRef<[u8]>>(a: &'a T) -> &'a [u8] {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: missing trait method provided by default: `one`
--> tests/ui/missing_trait_methods.rs:59:1
|
LL | impl MissingMultiple for Partial {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: implement the method
--> tests/ui/missing_trait_methods.rs:54:5
|
LL | fn one() {}
| ^^^^^^^^
error: missing trait method provided by default: `two`
--> tests/ui/missing_trait_methods.rs:59:1
|
LL | impl MissingMultiple for Partial {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: implement the method
--> tests/ui/missing_trait_methods.rs:55:5
|
LL | fn two() {}
| ^^^^^^^^
error: missing trait method provided by default: `three`
--> tests/ui/missing_trait_methods.rs:59:1
|
LL | impl MissingMultiple for Partial {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: implement the method
--> tests/ui/missing_trait_methods.rs:56:5
|
LL | fn three() {}
| ^^^^^^^^^^
error: aborting due to 5 previous errors
|