summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/dead-code/lint-dead-code-6.stderr
blob: f9d83308a3de34097b10d69b2e4d0be229489416 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
error: struct `UnusedStruct` is never constructed
  --> $DIR/lint-dead-code-6.rs:3:8
   |
LL | struct UnusedStruct;
   |        ^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/lint-dead-code-6.rs:1:9
   |
LL | #![deny(dead_code)]
   |         ^^^^^^^^^

error: associated function `unused_impl_fn_1` is never used
  --> $DIR/lint-dead-code-6.rs:5:8
   |
LL |     fn unused_impl_fn_1() {
   |        ^^^^^^^^^^^^^^^^

error: associated function `unused_impl_fn_2` is never used
  --> $DIR/lint-dead-code-6.rs:9:8
   |
LL |     fn unused_impl_fn_2(var: i32) {
   |        ^^^^^^^^^^^^^^^^

error: associated function `unused_impl_fn_3` is never used
  --> $DIR/lint-dead-code-6.rs:13:8
   |
LL |     fn unused_impl_fn_3(
   |        ^^^^^^^^^^^^^^^^

error: aborting due to 4 previous errors