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

warning: 1 warning emitted