summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/missing_trait_methods.stderr
blob: 0c5205e19657256cadafc92710f52d3d69072866 (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
error: missing trait method provided by default: `provided`
  --> $DIR/missing_trait_methods.rs:22:1
   |
LL | impl A for Partial {}
   | ^^^^^^^^^^^^^^^^^^
   |
help: implement the method
  --> $DIR/missing_trait_methods.rs:5:5
   |
LL |     fn provided() {}
   |     ^^^^^^^^^^^^^
   = note: `-D clippy::missing-trait-methods` implied by `-D warnings`

error: missing trait method provided by default: `b`
  --> $DIR/missing_trait_methods.rs:24:1
   |
LL | impl B for Partial {
   | ^^^^^^^^^^^^^^^^^^
   |
help: implement the method
  --> $DIR/missing_trait_methods.rs:15:5
   |
LL |     fn b<'a, T: AsRef<[u8]>>(a: &'a T) -> &'a [u8] {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors