blob: f41ea68053a7d0d22f2aaacc398bc51f28b85e78 [file] [log] [blame]
warning: methods `z` and `y` are never used
--> $DIR/lifetime.rs:8:8
|
LL | trait Foo: PartialEq<i32> + std::fmt::Debug + Send + Sync {
| --- methods in this trait
...
LL | fn z(&self) -> i32 {
| ^
...
LL | fn y(&self) -> i32 {
| ^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: method `w` is never used
--> $DIR/lifetime.rs:22:8
|
LL | trait Bar: Foo {
| --- method in this trait
...
LL | fn w(&self) -> i32 {
| ^
warning: 2 warnings emitted