rust/src/test/ui/span/unused-warning-point-at-signature.stderr

37 lines
936 B
Plaintext
Raw Normal View History

2017-09-25 14:01:55 -05:00
warning: enum is never used: `Enum`
--> $DIR/unused-warning-point-at-signature.rs:15:1
|
2018-02-22 18:42:32 -06:00
LL | enum Enum { //~ WARN enum is never used
2017-09-25 14:01:55 -05:00
| ^^^^^^^^^
|
note: lint level defined here
--> $DIR/unused-warning-point-at-signature.rs:13:9
|
2018-02-22 18:42:32 -06:00
LL | #![warn(unused)]
2017-09-25 14:01:55 -05:00
| ^^^^^^
= note: #[warn(dead_code)] implied by #[warn(unused)]
warning: struct is never used: `Struct`
--> $DIR/unused-warning-point-at-signature.rs:22:1
|
2018-02-22 18:42:32 -06:00
LL | struct Struct { //~ WARN struct is never used
2017-09-25 14:01:55 -05:00
| ^^^^^^^^^^^^^
warning: function is never used: `func`
--> $DIR/unused-warning-point-at-signature.rs:29:1
|
2018-02-22 18:42:32 -06:00
LL | fn func() -> usize { //~ WARN function is never used
2017-09-25 14:01:55 -05:00
| ^^^^^^^^^^^^^^^^^^
warning: function is never used: `func_complete_span`
--> $DIR/unused-warning-point-at-signature.rs:33:1
|
2018-02-22 18:42:32 -06:00
LL | / fn //~ WARN function is never used
LL | | func_complete_span()
LL | | -> usize
LL | | {
2017-09-25 14:01:55 -05:00
37 | | 3
2018-02-22 18:42:32 -06:00
LL | | }
2017-09-25 14:01:55 -05:00
| |_^