about summary refs log tree commit diff
path: root/tests/ui/traits/default-method/bound-subst4.stderr
blob: 62be4c3a8fce44e19911668399bb775a7fac37ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
warning: method `h` is never used
  --> $DIR/bound-subst4.rs:7:8
   |
LL | trait A<T> {
   |       - method in this trait
LL |     fn g(&self, x: usize) -> usize { x }
LL |     fn h(&self, x: T) { }
   |        ^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: 1 warning emitted