4
0
Эх сурвалжийг харах

Remove dead code expectation fixed upstream

See https://github.com/rust-lang/rust/commit/c93fac7d64394c6b926d863c19.
Tamir Duberstein 6 өдөр өмнө
parent
commit
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);