rust/tests/ui/rfcs/rfc-2027-object-safe-for-di.../manual-self-impl-for-unsafe...

16 lines
390 B
Plaintext

warning: methods `good_virt` and `good_indirect` are never used
--> $DIR/manual-self-impl-for-unsafe-obj.rs:23:8
|
LL | trait Good {
| ---- methods in this trait
LL | fn good_virt(&self) -> char {
| ^^^^^^^^^
...
LL | fn good_indirect(&self) -> char {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: 1 warning emitted