mirror of https://github.com/rust-lang/rust
16 lines
390 B
Plaintext
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
|
|
|