mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
13 lines
254 B
Plaintext
13 lines
254 B
Plaintext
warning: method `foo` is never used
|
|
--> $DIR/trivial_casts-rpass.rs:7:8
|
|
|
|
|
LL | trait Foo {
|
|
| --- method in this trait
|
|
LL | fn foo(&self) {}
|
|
| ^^^
|
|
|
|
|
= note: `#[warn(dead_code)]` on by default
|
|
|
|
warning: 1 warning emitted
|
|
|