2024-02-07 02:42:01 +00:00
|
|
|
warning: method `t` is never used
|
2024-08-24 03:49:09 +00:00
|
|
|
--> $DIR/impl.rs:15:8
|
2024-02-07 02:42:01 +00:00
|
|
|
|
|
|
|
|
LL | trait T {
|
|
|
|
| - method in this trait
|
|
|
|
LL | fn t(&self) {}
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
= note: `#[warn(dead_code)]` on by default
|
|
|
|
|
|
|
|
warning: 1 warning emitted
|
|
|
|
|