]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/dead-code/lint-dead-code-6.stderr
Rollup merge of #106427 - mejrs:translation_errors, r=davidtwco
[rust.git] / tests / ui / lint / dead-code / lint-dead-code-6.stderr
1 error: struct `UnusedStruct` is never constructed
2   --> $DIR/lint-dead-code-6.rs:3:8
3    |
4 LL | struct UnusedStruct;
5    |        ^^^^^^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/lint-dead-code-6.rs:1:9
9    |
10 LL | #![deny(dead_code)]
11    |         ^^^^^^^^^
12
13 error: associated function `unused_impl_fn_1` is never used
14   --> $DIR/lint-dead-code-6.rs:5:8
15    |
16 LL |     fn unused_impl_fn_1() {
17    |        ^^^^^^^^^^^^^^^^
18
19 error: associated function `unused_impl_fn_2` is never used
20   --> $DIR/lint-dead-code-6.rs:9:8
21    |
22 LL |     fn unused_impl_fn_2(var: i32) {
23    |        ^^^^^^^^^^^^^^^^
24
25 error: associated function `unused_impl_fn_3` is never used
26   --> $DIR/lint-dead-code-6.rs:13:8
27    |
28 LL |     fn unused_impl_fn_3(
29    |        ^^^^^^^^^^^^^^^^
30
31 error: aborting due to 4 previous errors
32