about summary refs log tree commit diff
path: root/tests/ui/methods/method-two-trait-defer-resolution-2.stderr
blob: 17ceb745b900b0d642a0b9227b06ecec08f51b7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
warning: method `foo` is never used
  --> $DIR/method-two-trait-defer-resolution-2.rs:17:19
   |
LL | trait MyCopy { fn foo(&self) { } }
   |       ------      ^^^
   |       |
   |       method in this trait
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: 1 warning emitted