We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 67aed4c + d953b43 commit 0d7a64eCopy full SHA for 0d7a64e
src/basic_block.rs
@@ -19,7 +19,7 @@ use std::rc::Rc;
19
/// A well formed `BasicBlock` is a list of non terminating instructions followed by a single terminating
20
/// instruction. `BasicBlock`s are allowed to be malformed prior to running validation because it may be useful
21
/// when constructing or modifying a program.
22
-#[derive(PartialEq, Eq)]
+#[derive(PartialEq, Eq, Clone, Copy, Hash)]
23
pub struct BasicBlock {
24
pub(crate) basic_block: LLVMBasicBlockRef,
25
}
0 commit comments