Skip to content

Commit 2fab041

Browse files
committed
suppress more warnings
1 parent 0c2e289 commit 2fab041

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ jobs:
110110
toolchain: ${{ matrix.toolchain }}
111111
target: ${{ matrix.target }}
112112
- run: cargo test --features ${{ matrix.features }} --target ${{ matrix.target }}
113+
env: #[cfg(feature = "datagram")] unexpected `cfg` condition value: `datagram`
114+
RUSTFLAGS: "-A unexpected_cfgs"
113115
- name: h3Spec
114116
run: ./ci/h3spec.sh
115117
if: matrix.toolchain == 'stable'

h3-webtransport/src/server.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ where
368368
/// An accepted incoming bidirectional stream.
369369
///
370370
/// Since
371+
#[allow(clippy::large_enum_variant)]
371372
pub enum AcceptedBi<C: quic::Connection<B>, B: Buf> {
372373
/// An incoming bidirectional stream
373374
BidiStream(SessionId, BidiStream<C::BidiStream, B>),

h3/src/server/request.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ where
6666
{
6767
/// Returns a future to await the request headers and return a `Request` object
6868
#[cfg_attr(feature = "tracing", instrument(skip_all, level = "trace"))]
69+
#[allow(clippy::type_complexity)]
6970
pub async fn resolve_request(
7071
mut self,
7172
) -> Result<(Request<()>, RequestStream<C::BidiStream, B>), StreamError> {
@@ -192,6 +193,7 @@ where
192193

193194
/// Finishes the resolution of the request
194195
#[cfg_attr(feature = "tracing", instrument(skip_all, level = "trace"))]
196+
#[allow(clippy::type_complexity)]
195197
pub async fn resolve(
196198
mut self,
197199
) -> Result<(Request<()>, RequestStream<C::BidiStream, B>), StreamError> {

0 commit comments

Comments
 (0)