about summary refs log tree commit diff
path: root/tests/ui/methods/method-two-trait-defer-resolution-2.stderr
blob: 4501ea5d24334fed4e3bf21c914b31cc5d148966 (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)]` on by default

warning: 1 warning emitted