blob: 83e2ec1987b476f88cc2ef5d641c80d37478bc4e [file] [log] [blame]
warning: enum is never used: `Enum`
--> $DIR/unused-warning-point-at-signature.rs:5:1
|
LL | enum Enum {
| ^^^^^^^^^
|
note: lint level defined here
--> $DIR/unused-warning-point-at-signature.rs:3:9
|
LL | #![warn(unused)]
| ^^^^^^
= note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
warning: struct is never constructed: `Struct`
--> $DIR/unused-warning-point-at-signature.rs:12:1
|
LL | struct Struct {
| ^^^^^^^^^^^^^
warning: function is never used: `func`
--> $DIR/unused-warning-point-at-signature.rs:19:1
|
LL | fn func() -> usize {
| ^^^^^^^^^^^^^^^^^^
warning: function is never used: `func_complete_span`
--> $DIR/unused-warning-point-at-signature.rs:23:1
|
LL | / fn
LL | | func_complete_span()
LL | | -> usize
LL | | {
LL | | 3
LL | | }
| |_^