File tree Expand file tree Collapse file tree 8 files changed +9
-0
lines changed Expand file tree Collapse file tree 8 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ pub(super) struct Coordinator {
46
46
47
47
/// Metrics for [`Coordinator`].
48
48
#[ derive( Debug ) ]
49
+ #[ allow( dead_code) ] // https://github.com/rust-lang/rust/issues/88900.
49
50
struct Metrics < ' c , ' l > {
50
51
heph_version : & ' static str ,
51
52
os : & ' c str ,
Original file line number Diff line number Diff line change @@ -713,6 +713,7 @@ pub(super) struct RuntimeInternals {
713
713
714
714
/// Metrics for [`RuntimeInternals`].
715
715
#[ derive( Debug ) ]
716
+ #[ allow( dead_code) ] // https://github.com/rust-lang/rust/issues/88900.
716
717
pub ( crate ) struct Metrics {
717
718
id : NonZeroUsize ,
718
719
scheduler : scheduler:: Metrics ,
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ pub(crate) struct Scheduler {
36
36
37
37
/// Metrics for [`Scheduler`].
38
38
#[ derive( Debug ) ]
39
+ #[ allow( dead_code) ] // https://github.com/rust-lang/rust/issues/88900.
39
40
pub ( crate ) struct Metrics {
40
41
ready : usize ,
41
42
inactive : usize ,
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ pub(crate) struct Timers {
81
81
82
82
/// Metrics for [`Timers`].
83
83
#[ derive( Debug ) ]
84
+ #[ allow( dead_code) ] // https://github.com/rust-lang/rust/issues/88900.
84
85
pub ( crate ) struct Metrics {
85
86
timers : usize ,
86
87
next_timer : Option < Duration > ,
Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ pub(crate) struct RuntimeInternals {
98
98
99
99
/// Metrics for [`RuntimeInternals`].
100
100
#[ derive( Debug ) ]
101
+ #[ allow( dead_code) ] // https://github.com/rust-lang/rust/issues/88900.
101
102
pub ( crate ) struct Metrics {
102
103
scheduler : scheduler:: Metrics ,
103
104
timers : timers:: Metrics ,
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ pub(super) struct Scheduler {
104
104
105
105
/// Metrics for [`Scheduler`].
106
106
#[ derive( Debug ) ]
107
+ #[ allow( dead_code) ] // https://github.com/rust-lang/rust/issues/88900.
107
108
pub ( crate ) struct Metrics {
108
109
ready : usize ,
109
110
inactive : usize ,
Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ struct Epoch {
89
89
90
90
/// Metrics for [`Timers`].
91
91
#[ derive( Debug ) ]
92
+ #[ allow( dead_code) ] // https://github.com/rust-lang/rust/issues/88900.
92
93
pub ( crate ) struct Metrics {
93
94
timers : usize ,
94
95
next_timer : Option < Duration > ,
Original file line number Diff line number Diff line change @@ -169,6 +169,7 @@ pub(crate) struct CoordinatorLog {
169
169
170
170
/// Metrics for [`CoordinatorLog`].
171
171
#[ derive( Debug ) ]
172
+ #[ allow( dead_code) ] // https://github.com/rust-lang/rust/issues/88900.
172
173
pub ( crate ) struct CoordinatorMetrics < ' l > {
173
174
file : & ' l File ,
174
175
counter : u32 ,
@@ -266,6 +267,7 @@ pub(crate) struct Log {
266
267
267
268
/// Metrics for [`Log`].
268
269
#[ derive( Debug ) ]
270
+ #[ allow( dead_code) ] // https://github.com/rust-lang/rust/issues/88900.
269
271
pub ( crate ) struct Metrics {
270
272
counter : u32 ,
271
273
}
You can’t perform that action at this time.
0 commit comments