mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
13 lines
268 B
Plaintext
13 lines
268 B
Plaintext
warning: method `get` is never used
|
|
--> $DIR/drop-struct-as-object.rs:15:8
|
|
|
|
|
LL | trait Dummy {
|
|
| ----- method in this trait
|
|
LL | fn get(&self) -> usize;
|
|
| ^^^
|
|
|
|
|
= note: `#[warn(dead_code)]` on by default
|
|
|
|
warning: 1 warning emitted
|
|
|