]> git.proxmox.com Git - rustc.git/blame - tests/ui/lint/dead-code/unused-assoc-fns.stderr
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / ui / lint / dead-code / unused-assoc-fns.stderr
CommitLineData
353b0b11
FG
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