Skip to content

Commit

Permalink
scope allow(warnings)
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah-Kennedy committed Sep 4, 2022
1 parent ff6d048 commit 03d4e8f
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions console-api/src/async_ops.rs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#![allow(warnings)]

include!("generated/rs.tokio.console.async_ops.rs");
7 changes: 6 additions & 1 deletion console-api/src/common.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
use std::fmt;
use std::hash::{Hash, Hasher};

include!("generated/rs.tokio.console.common.rs");
pub use generated::*;

mod generated {
#![allow(warnings)]
include!("generated/rs.tokio.console.common.rs");
}

impl From<tracing_core::Level> for metadata::Level {
fn from(level: tracing_core::Level) -> Self {
Expand Down
2 changes: 2 additions & 0 deletions console-api/src/instrument.rs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#![allow(warnings)]

include!("generated/rs.tokio.console.instrument.rs");
1 change: 0 additions & 1 deletion console-api/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#![doc = include_str!("../README.md")]
#![allow(warnings)]

/// Represents the operations performed by an async runtime.
pub mod async_ops;
Expand Down
2 changes: 2 additions & 0 deletions console-api/src/resources.rs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#![allow(warnings)]

include!("generated/rs.tokio.console.resources.rs");
2 changes: 2 additions & 0 deletions console-api/src/tasks.rs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#![allow(warnings)]

include!("generated/rs.tokio.console.tasks.rs");
2 changes: 2 additions & 0 deletions console-api/src/trace.rs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#![allow(warnings)]

include!("generated/rs.tokio.console.trace.rs");

0 comments on commit 03d4e8f

Please sign in to comment.