rust/tests/ui/overloaded/overloaded-index-in-field.stderr
2024-02-07 10:42:01 +08:00

16 lines
384 B
Plaintext

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