]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/unused-warning-point-at-identifier.stderr
Rollup merge of #87922 - Manishearth:c-enum-target-spec, r=nagisa,eddyb
[rust.git] / src / test / ui / span / unused-warning-point-at-identifier.stderr
1 warning: enum is never used: `Enum`
2   --> $DIR/unused-warning-point-at-identifier.rs:5:6
3    |
4 LL | enum Enum {
5    |      ^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/unused-warning-point-at-identifier.rs:3:9
9    |
10 LL | #![warn(unused)]
11    |         ^^^^^^
12    = note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
13
14 warning: struct is never constructed: `Struct`
15   --> $DIR/unused-warning-point-at-identifier.rs:12:8
16    |
17 LL | struct Struct {
18    |        ^^^^^^
19
20 warning: function is never used: `func`
21   --> $DIR/unused-warning-point-at-identifier.rs:19:4
22    |
23 LL | fn func() -> usize {
24    |    ^^^^
25
26 warning: function is never used: `func_complete_span`
27   --> $DIR/unused-warning-point-at-identifier.rs:24:1
28    |
29 LL | func_complete_span()
30    | ^^^^^^^^^^^^^^^^^^
31
32 warning: 4 warnings emitted
33