Skip to content

Commit 7acd51e

Browse files
committed
remove trait bounds on AllocBytes
1 parent 235770c commit 7acd51e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/mir/interpret/allocation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub use init_mask::{InitChunk, InitChunkIter};
3030

3131
/// Functionality required for the bytes of an `Allocation`.
3232
pub trait AllocBytes:
33-
Clone + fmt::Debug + Eq + PartialEq + Hash + Deref<Target = [u8]> + DerefMut<Target = [u8]>
33+
Clone + fmt::Debug + Deref<Target = [u8]> + DerefMut<Target = [u8]>
3434
{
3535
/// Create an `AllocBytes` from a slice of `u8`.
3636
fn from_bytes<'a>(slice: impl Into<Cow<'a, [u8]>>, _align: Align) -> Self;

0 commit comments

Comments
 (0)