rust/tests/ui/traits/impl-inherent-prefer-over-trait.stderr
2024-02-07 10:42:01 +08:00

13 lines
268 B
Plaintext

warning: method `bar` is never used
--> $DIR/impl-inherent-prefer-over-trait.rs:6:8
|
LL | trait Trait {
| ----- method in this trait
LL | fn bar(&self);
| ^^^
|
= note: `#[warn(dead_code)]` on by default
warning: 1 warning emitted