blob: 823094761b3853a935d2d21bfdcc02a3317139c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
warning: method `foo_a` is never used
--> $DIR/replace-vptr.rs:6:8
|
LL | trait A {
| - method in this trait
LL | fn foo_a(&self);
| ^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: method `foo_c` is never used
--> $DIR/replace-vptr.rs:14:8
|
LL | trait C: A + B {
| - method in this trait
LL | fn foo_c(&self);
| ^^^^^
warning: 2 warnings emitted
|