Explorar el Código

Remove dead code expectation fixed upstream

See https://github.com/rust-lang/rust/commit/c93fac7d64394c6b926d863c19.
Tamir Duberstein hace 6 días
padre
commit
30d5c9f53e
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  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);