rust/tests/ui/lint/dead-code/unused-assoc-fns.stderr

28 lines
592 B
Plaintext
Raw Normal View History

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