Skip to content

Commit 03d4e8f

Browse files
committed
scope allow(warnings)
1 parent ff6d048 commit 03d4e8f

File tree

7 files changed

+16
-2
lines changed

7 files changed

+16
-2
lines changed

console-api/src/async_ops.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
#![allow(warnings)]
2+
13
include!("generated/rs.tokio.console.async_ops.rs");

console-api/src/common.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
use std::fmt;
22
use std::hash::{Hash, Hasher};
33

4-
include!("generated/rs.tokio.console.common.rs");
4+
pub use generated::*;
5+
6+
mod generated {
7+
#![allow(warnings)]
8+
include!("generated/rs.tokio.console.common.rs");
9+
}
510

611
impl From<tracing_core::Level> for metadata::Level {
712
fn from(level: tracing_core::Level) -> Self {

console-api/src/instrument.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
#![allow(warnings)]
2+
13
include!("generated/rs.tokio.console.instrument.rs");

console-api/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![doc = include_str!("../README.md")]
2-
#![allow(warnings)]
32

43
/// Represents the operations performed by an async runtime.
54
pub mod async_ops;

console-api/src/resources.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
#![allow(warnings)]
2+
13
include!("generated/rs.tokio.console.resources.rs");

console-api/src/tasks.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
#![allow(warnings)]
2+
13
include!("generated/rs.tokio.console.tasks.rs");

console-api/src/trace.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
#![allow(warnings)]
2+
13
include!("generated/rs.tokio.console.trace.rs");

0 commit comments

Comments
 (0)