Files
rust/tests/ui/coercion/method-return-trait-object-14399.stderr

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

13 lines
303 B
Plaintext
Raw Permalink Normal View History

2024-02-07 10:42:01 +08:00
warning: method `foo` is never used
2025-07-24 17:52:22 +05:00
--> $DIR/method-return-trait-object-14399.rs:13:14
2024-02-07 10:42:01 +08:00
|
LL | trait A { fn foo(&self) {} }
| - ^^^
| |
| method in this trait
|
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