소스 검색

Remove dead code expectation fixed upstream

See https://github.com/rust-lang/rust/commit/c93fac7d64394c6b926d863c19.
Tamir Duberstein 6 일 전
부모
커밋
30d5c9f53e
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      aya-log/src/lib.rs

+ 0 - 2
aya-log/src/lib.rs

@@ -75,11 +75,9 @@ use bytes::BytesMut;
 use log::{Log, Record, error};
 use thiserror::Error;
 
-#[expect(dead_code)] // TODO(https://github.com/rust-lang/rust/issues/120770): Remove when false positive is fixed.
 #[derive(Copy, Clone)]
 #[repr(transparent)]
 struct RecordFieldWrapper(RecordField);
-#[expect(dead_code)] // TODO(https://github.com/rust-lang/rust/issues/120770): Remove when false positive is fixed.
 #[derive(Copy, Clone)]
 #[repr(transparent)]
 struct ArgumentWrapper(Argument);