mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
14 lines
293 B
Plaintext
14 lines
293 B
Plaintext
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)]` on by default
|
|
|
|
warning: 1 warning emitted
|
|
|