Fix warnings

This commit is contained in:
bakaq
2024-09-06 17:56:12 -03:00
parent ada9ba98cc
commit d32f3ee2f3
17 changed files with 10 additions and 214 deletions

View File

@@ -3252,6 +3252,7 @@ pub fn generate_instructions_rs() -> TokenStream {
)
}
#[allow(dead_code)]
pub fn is_ctrl_instr(&self) -> bool {
matches!(self,
Instruction::Allocate(_) |
@@ -3262,6 +3263,7 @@ pub fn generate_instructions_rs() -> TokenStream {
)
}
#[allow(dead_code)]
pub fn is_query_instr(&self) -> bool {
matches!(self,
&Instruction::GetVariable(..) |