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

32 lines
773 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-identifier.rs:5:6
2017-09-25 14:01:55 -05:00
|
2019-03-09 06:03:44 -06:00
LL | enum Enum {
| ^^^^
2017-09-25 14:01:55 -05:00
|
note: lint level defined here
--> $DIR/unused-warning-point-at-identifier.rs:3:9
2017-09-25 14:01:55 -05:00
|
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)]`
2017-09-25 14:01:55 -05:00
warning: struct is never constructed: `Struct`
--> $DIR/unused-warning-point-at-identifier.rs:12:8
2017-09-25 14:01:55 -05:00
|
2019-03-09 06:03:44 -06:00
LL | struct Struct {
| ^^^^^^
2017-09-25 14:01:55 -05:00
warning: function is never used: `func`
--> $DIR/unused-warning-point-at-identifier.rs:19:4
2017-09-25 14:01:55 -05:00
|
2019-03-09 06:03:44 -06:00
LL | fn func() -> usize {
| ^^^^
2017-09-25 14:01:55 -05:00
warning: function is never used: `func_complete_span`
--> $DIR/unused-warning-point-at-identifier.rs:24:1
2017-09-25 14:01:55 -05:00
|
LL | func_complete_span()
| ^^^^^^^^^^^^^^^^^^
2017-09-25 14:01:55 -05:00