Files
rust/tests/ui/traits/trait-upcasting/replace-vptr.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
452 B
Plaintext
Raw Normal View History

2024-02-07 10:42:01 +08:00
warning: method `foo_a` is never used
--> $DIR/replace-vptr.rs:4:8
2024-02-07 10:42:01 +08:00
|
LL | trait A {
| - method in this trait
LL | fn foo_a(&self);
| ^^^^^
|
2025-04-28 13:47:25 +02:00
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
2024-02-07 10:42:01 +08:00
warning: method `foo_c` is never used
--> $DIR/replace-vptr.rs:12:8
2024-02-07 10:42:01 +08:00
|
LL | trait C: A + B {
| - method in this trait
LL | fn foo_c(&self);
| ^^^^^
warning: 2 warnings emitted