fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
823 B36 linesraw
1warning: enum is never used: `Enum`
2  --> $DIR/unused-warning-point-at-signature.rs:5:1
3   |
4LL | enum Enum {
5   | ^^^^^^^^^
6   |
7note: lint level defined here
8  --> $DIR/unused-warning-point-at-signature.rs:3:9
9   |
10LL | #![warn(unused)]
11   |         ^^^^^^
12   = note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
13
14warning: struct is never constructed: `Struct`
15  --> $DIR/unused-warning-point-at-signature.rs:12:1
16   |
17LL | struct Struct {
18   | ^^^^^^^^^^^^^
19
20warning: function is never used: `func`
21  --> $DIR/unused-warning-point-at-signature.rs:19:1
22   |
23LL | fn func() -> usize {
24   | ^^^^^^^^^^^^^^^^^^
25
26warning: function is never used: `func_complete_span`
27  --> $DIR/unused-warning-point-at-signature.rs:23:1
28   |
29LL | / fn
30LL | | func_complete_span()
31LL | | -> usize
32LL | | {
33LL | |     3
34LL | | }
35   | |_^
36