Make set_span take mut self
This commit is contained in:
parent
4cb7ef0f94
commit
3d484481c7
2 changed files with 2 additions and 2 deletions
|
@ -139,7 +139,7 @@ impl BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> {
|
|||
unsafe { llvm::LLVMGetInsertBlock(self.llbuilder) }
|
||||
}
|
||||
|
||||
fn set_span(&self, _span: Span) {}
|
||||
fn set_span(&mut self, _span: Span) {}
|
||||
|
||||
fn position_at_end(&mut self, llbb: &'ll BasicBlock) {
|
||||
unsafe {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue