]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/missing_trait_methods.stderr
New upstream version 1.74.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / missing_trait_methods.stderr
1 error: missing trait method provided by default: `provided`
2 --> $DIR/missing_trait_methods.rs:22:1
3 |
4 LL | impl A for Partial {}
5 | ^^^^^^^^^^^^^^^^^^
6 |
7 help: implement the method
8 --> $DIR/missing_trait_methods.rs:5:5
9 |
10 LL | 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
15 error: missing trait method provided by default: `b`
16 --> $DIR/missing_trait_methods.rs:25:1
17 |
18 LL | impl B for Partial {
19 | ^^^^^^^^^^^^^^^^^^
20 |
21 help: implement the method
22 --> $DIR/missing_trait_methods.rs:15:5
23 |
24 LL | fn b<'a, T: AsRef<[u8]>>(a: &'a T) -> &'a [u8] {
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26
27 error: aborting due to 2 previous errors
28