rust/tests/ui/structs-enums/enum-null-pointer-opt.stderr

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

13 lines
279 B
Plaintext
Raw Normal View History

2024-02-06 20:42:01 -06:00
warning: method `dummy` is never used
2024-02-22 07:59:52 -06:00
--> $DIR/enum-null-pointer-opt.rs:11:18
2024-02-06 20:42:01 -06:00
|
LL | trait Trait { fn dummy(&self) { } }
| ----- ^^^^^
| |
| method in this trait
|
= note: `#[warn(dead_code)]` on by default
warning: 1 warning emitted