about summary refs log tree commit diff
path: root/tests/ui/lint/dead-code/pub-field-in-priv-mod.stderr
blob: 11dd387315fbcbc1d793c1e234feb853a68d327d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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