We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 235770c commit 7acd51eCopy full SHA for 7acd51e
compiler/rustc_middle/src/mir/interpret/allocation.rs
@@ -30,7 +30,7 @@ pub use init_mask::{InitChunk, InitChunkIter};
30
31
/// Functionality required for the bytes of an `Allocation`.
32
pub trait AllocBytes:
33
- Clone + fmt::Debug + Eq + PartialEq + Hash + Deref<Target = [u8]> + DerefMut<Target = [u8]>
+ Clone + fmt::Debug + Deref<Target = [u8]> + DerefMut<Target = [u8]>
34
{
35
/// Create an `AllocBytes` from a slice of `u8`.
36
fn from_bytes<'a>(slice: impl Into<Cow<'a, [u8]>>, _align: Align) -> Self;
0 commit comments