mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-19 03:54:40 +00:00
13 lines
268 B
Plaintext
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
|
|
|