28 lines
592 B
Plaintext
28 lines
592 B
Plaintext
|
error: associated function `one` is never used
|
||
|
--> $DIR/unused-assoc-fns.rs:6:8
|
||
|
|
|
||
|
LL | fn one() {}
|
||
|
| ^^^
|
||
|
|
|
||
|
note: the lint level is defined here
|
||
|
--> $DIR/unused-assoc-fns.rs:1:9
|
||
|
|
|
||
|
LL | #![deny(unused)]
|
||
|
| ^^^^^^
|
||
|
= note: `#[deny(dead_code)]` implied by `#[deny(unused)]`
|
||
|
|
||
|
error: method `two` is never used
|
||
|
--> $DIR/unused-assoc-fns.rs:9:8
|
||
|
|
|
||
|
LL | fn two(&self) {}
|
||
|
| ^^^
|
||
|
|
||
|
error: method `three` is never used
|
||
|
--> $DIR/unused-assoc-fns.rs:18:8
|
||
|
|
|
||
|
LL | fn three(&self) {
|
||
|
| ^^^^^
|
||
|
|
||
|
error: aborting due to 3 previous errors
|
||
|
|