rust/tests/ui/overloaded/overloaded-index-in-field.stderr

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

16 lines
384 B
Plaintext
Raw Normal View History

2024-02-07 02:42:01 +00:00
warning: methods `get_from_ref` and `inc` are never used
--> $DIR/overloaded-index-in-field.rs:30:8
|
LL | trait Int {
| --- methods in this trait
LL | fn get(self) -> isize;
LL | fn get_from_ref(&self) -> isize;
| ^^^^^^^^^^^^
LL | fn inc(&mut self);
| ^^^
|
= note: `#[warn(dead_code)]` on by default
warning: 1 warning emitted