Fix warnings
This commit is contained in:
parent
f81fc7e925
commit
e1d014bcc2
@ -7,8 +7,7 @@ use crate::{
|
||||
BlockData, CustomTypeKind, FunctionData, Instr, InstructionData, ModuleData, NamedStruct,
|
||||
TerminatorKind, Type, TypeData,
|
||||
debug_information::{
|
||||
DebugFileData, DebugInformation, DebugLocation, DebugLocationValue, DebugMetadataValue,
|
||||
DebugProgramValue,
|
||||
DebugInformation, DebugLocationValue, DebugMetadataValue, DebugProgramValue,
|
||||
},
|
||||
util::match_types,
|
||||
};
|
||||
|
@ -2,10 +2,7 @@
|
||||
//! LLIR ([`Context`]) into LLVM IR. This module is the only one that interfaces
|
||||
//! with the LLVM API.
|
||||
|
||||
use std::{
|
||||
collections::HashMap,
|
||||
ptr::{null, null_mut},
|
||||
};
|
||||
use std::{collections::HashMap, ptr::null_mut};
|
||||
|
||||
use llvm_sys::{
|
||||
LLVMIntPredicate, LLVMLinkage, LLVMValueKind,
|
||||
|
@ -1,7 +1,4 @@
|
||||
use std::{
|
||||
cell::{RefCell, RefMut},
|
||||
rc::Rc,
|
||||
};
|
||||
use std::{cell::RefCell, rc::Rc};
|
||||
|
||||
#[derive(Debug, Clone, Hash, PartialEq, Eq)]
|
||||
pub struct DebugScopeValue(pub Vec<usize>);
|
||||
|
@ -7,8 +7,7 @@ use std::{fmt::Debug, marker::PhantomData};
|
||||
use builder::{BlockValue, Builder, FunctionValue, InstructionValue, ModuleValue, TypeValue};
|
||||
use debug::PrintableModule;
|
||||
use debug_information::{
|
||||
DebugFileData, DebugInformation, DebugLocation, DebugLocationValue, DebugMetadataValue,
|
||||
DebugProgramValue, DebugScopeValue,
|
||||
DebugFileData, DebugInformation, DebugLocationValue, DebugMetadataValue, DebugProgramValue,
|
||||
};
|
||||
use util::match_types;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user