Skip to content

Commit cc9cb7f

Browse files
committed
Fix nightly warnings
1 parent 267455b commit cc9cb7f

File tree

14 files changed

+3
-15
lines changed

14 files changed

+3
-15
lines changed

tracing-appender/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@
133133
rust_2018_idioms,
134134
unreachable_pub,
135135
bad_style,
136-
const_err,
137136
dead_code,
138137
improper_ctypes,
139138
non_shorthand_field_patterns,

tracing-attributes/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
rust_2018_idioms,
6565
unreachable_pub,
6666
bad_style,
67-
const_err,
6867
dead_code,
6968
improper_ctypes,
7069
non_shorthand_field_patterns,

tracing-core/src/field.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ pub trait Visit {
231231
/// <strong>Note</strong>: This is only enabled when the Rust standard library is
232232
/// present.
233233
/// </pre>
234+
/// </div>
234235
#[cfg(feature = "std")]
235236
#[cfg_attr(docsrs, doc(cfg(feature = "std")))]
236237
fn record_error(&mut self, field: &Field, value: &(dyn std::error::Error + 'static)) {

tracing-core/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@
146146
rust_2018_idioms,
147147
unreachable_pub,
148148
bad_style,
149-
const_err,
150149
dead_code,
151150
improper_ctypes,
152151
non_shorthand_field_patterns,

tracing-error/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@
190190
rust_2018_idioms,
191191
unreachable_pub,
192192
bad_style,
193-
const_err,
194193
dead_code,
195194
improper_ctypes,
196195
non_shorthand_field_patterns,

tracing-flame/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@
117117
rust_2018_idioms,
118118
unreachable_pub,
119119
bad_style,
120-
const_err,
121120
dead_code,
122121
improper_ctypes,
123122
non_shorthand_field_patterns,
@@ -134,8 +133,7 @@
134133
while_true
135134
)]
136135

137-
pub use error::Error;
138-
136+
use error::Error;
139137
use error::Kind;
140138
use once_cell::sync::Lazy;
141139
use std::cell::Cell;

tracing-futures/src/executor/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#[cfg(feature = "futures-01")]
22
mod futures_01;
3-
#[cfg(feature = "futures-01")]
4-
pub use self::futures_01::*;
53

64
#[cfg(feature = "futures_preview")]
75
mod futures_preview;

tracing-futures/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383
rust_2018_idioms,
8484
unreachable_pub,
8585
bad_style,
86-
const_err,
8786
dead_code,
8887
improper_ctypes,
8988
non_shorthand_field_patterns,

tracing-log/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@
109109
rust_2018_idioms,
110110
unreachable_pub,
111111
bad_style,
112-
const_err,
113112
dead_code,
114113
improper_ctypes,
115114
non_shorthand_field_patterns,

tracing-serde/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@
153153
rust_2018_idioms,
154154
unreachable_pub,
155155
bad_style,
156-
const_err,
157156
dead_code,
158157
improper_ctypes,
159158
non_shorthand_field_patterns,

0 commit comments

Comments
 (0)