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 | |