Make set_span take mut self

This commit is contained in:
khyperia 2020-10-17 13:28:58 +02:00
parent 4cb7ef0f94
commit 3d484481c7
2 changed files with 2 additions and 2 deletions

View file

@ -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 {