17 lines
366 B
Plaintext
17 lines
366 B
Plaintext
error: field `f` is never read
|
|
--> $DIR/pub-field-in-priv-mod.rs:9:13
|
|
|
|
|
LL | pub struct S {
|
|
| - field in this struct
|
|
LL | pub f: bool,
|
|
| ^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/pub-field-in-priv-mod.rs:1:9
|
|
|
|
|
LL | #![deny(dead_code)]
|
|
| ^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|