rust/tests/ui/moves/issue-22536-copy-mustnt-zero.stderr

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

14 lines
303 B
Plaintext
Raw Normal View History

2024-02-06 20:42:01 -06:00
warning: method `foo` is never used
--> $DIR/issue-22536-copy-mustnt-zero.rs:8:8
|
LL | trait Resources {
| --------- method in this trait
LL | type Buffer: Copy;
LL | fn foo(&self) {}
| ^^^
|
= note: `#[warn(dead_code)]` on by default
warning: 1 warning emitted