mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
13 lines
253 B
Plaintext
13 lines
253 B
Plaintext
warning: method `foo` is never used
|
|
--> $DIR/fat-ptr-cast-rpass.rs:6:8
|
|
|
|
|
LL | trait Foo {
|
|
| --- method in this trait
|
|
LL | fn foo(&self) {}
|
|
| ^^^
|
|
|
|
|
= note: `#[warn(dead_code)]` on by default
|
|
|
|
warning: 1 warning emitted
|
|
|