fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
822 B28 linesraw
1error: missing trait method provided by default: `provided`
2  --> $DIR/missing_trait_methods.rs:22:1
3   |
4LL | impl A for Partial {}
5   | ^^^^^^^^^^^^^^^^^^
6   |
7help: implement the method
8  --> $DIR/missing_trait_methods.rs:5:5
9   |
10LL |     fn provided() {}
11   |     ^^^^^^^^^^^^^
12   = note: `-D clippy::missing-trait-methods` implied by `-D warnings`
13   = help: to override `-D warnings` add `#[allow(clippy::missing_trait_methods)]`
14
15error: missing trait method provided by default: `b`
16  --> $DIR/missing_trait_methods.rs:25:1
17   |
18LL | impl B for Partial {
19   | ^^^^^^^^^^^^^^^^^^
20   |
21help: implement the method
22  --> $DIR/missing_trait_methods.rs:15:5
23   |
24LL |     fn b<'a, T: AsRef<[u8]>>(a: &'a T) -> &'a [u8] {
25   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26
27error: aborting due to 2 previous errors
28