blob: 74698b61ab4a4f3ecf50607076ba84efc847fa50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
warning: method `foo` is never used
--> $DIR/trivial_casts-rpass.rs:7:8
|
LL | trait Foo {
| --- method in this trait
LL | fn foo(&self) {}
| ^^^
|
= note: `#[warn(dead_code)]` on by default
warning: 1 warning emitted
|