Files
rust/tests/ui/drop/drop-struct-as-object.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
296 B
Plaintext
Raw Normal View History

2024-02-07 10:42:01 +08:00
warning: method `get` is never used
--> $DIR/drop-struct-as-object.rs:18:8
2024-02-07 10:42:01 +08:00
|
LL | trait Dummy {
| ----- method in this trait
LL | fn get(&self) -> usize;
| ^^^
|
2025-04-28 13:47:25 +02:00
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
2024-02-07 10:42:01 +08:00
warning: 1 warning emitted