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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
805 B
Plaintext
Raw Normal View History

warning: enum `Enum` is never used
--> $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
|
2020-01-22 17:57:38 -06:00
note: the lint level is 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 `Struct` is never constructed
--> $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 `func` is never used
--> $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 `func_complete_span` is never used
--> $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
warning: 4 warnings emitted