]> git.proxmox.com Git - rustc.git/blame - src/test/ui/span/unused-warning-point-at-signature.stderr
New upstream version 1.40.0+dfsg1
[rustc.git] / src / test / ui / span / unused-warning-point-at-signature.stderr
CommitLineData
ea8adc8c 1warning: enum is never used: `Enum`
0731742a 2 --> $DIR/unused-warning-point-at-signature.rs:5:1
ea8adc8c 3 |
532ac7d7 4LL | enum Enum {
ea8adc8c
XL
5 | ^^^^^^^^^
6 |
7note: lint level defined here
0731742a 8 --> $DIR/unused-warning-point-at-signature.rs:3:9
ea8adc8c 9 |
0531ce1d 10LL | #![warn(unused)]
ea8adc8c 11 | ^^^^^^
416331ca 12 = note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
ea8adc8c 13
b7449926 14warning: struct is never constructed: `Struct`
0731742a 15 --> $DIR/unused-warning-point-at-signature.rs:12:1
ea8adc8c 16 |
532ac7d7 17LL | struct Struct {
ea8adc8c
XL
18 | ^^^^^^^^^^^^^
19
20warning: function is never used: `func`
0731742a 21 --> $DIR/unused-warning-point-at-signature.rs:19:1
ea8adc8c 22 |
532ac7d7 23LL | fn func() -> usize {
ea8adc8c
XL
24 | ^^^^^^^^^^^^^^^^^^
25
26warning: function is never used: `func_complete_span`
0731742a 27 --> $DIR/unused-warning-point-at-signature.rs:23:1
ea8adc8c 28 |
532ac7d7 29LL | / fn
0531ce1d
XL
30LL | | func_complete_span()
31LL | | -> usize
32LL | | {
33LL | | 3
34LL | | }
ea8adc8c
XL
35 | |_^
36