fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: associated items `one`, `two`, `CONSTANT`, `Type`, and `three` are never used 2 --> $DIR/unused-assoc-fns.rs:8:8 3 | 4LL | impl Foo { 5 | -------- associated items in this implementation 6LL | fn one() {} 7 | ^^^ 8... 9LL | fn two(&self) {} 10 | ^^^ 11... 12LL | const CONSTANT: usize = 5; 13 | ^^^^^^^^ 14... 15LL | type Type = usize; 16 | ^^^^ 17LL | 18LL | fn three(&self) { 19 | ^^^^^ 20 | 21note: the lint level is defined here 22 --> $DIR/unused-assoc-fns.rs:3:9 23 | 24LL | #![deny(unused)] 25 | ^^^^^^ 26 = note: `#[deny(dead_code)]` implied by `#[deny(unused)]` 27 28error: aborting due to previous error 29