Block no longer needs to implement Hash.

This commit is contained in:
Dan Gohman
2017-11-07 15:19:55 -08:00
parent 6d91a32d39
commit 15aff899ee

View File

@@ -124,7 +124,7 @@ struct EbbHeaderBlockData<Variable> {
}
/// A opaque reference to a basic block.
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
pub struct Block(u32);
impl EntityRef for Block {
fn new(index: usize) -> Self {