rust/tests/ui/traits/impl-inherent-prefer-over-trait.stderr

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

13 lines
268 B
Plaintext
Raw Normal View History

2024-02-06 20:42:01 -06:00
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