fix(builder.rs): Add space after self when necessary
This commit is contained in:
parent
9cc0a4204d
commit
7c3565e569
@ -1059,7 +1059,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
|
||||
(false, true) => {
|
||||
// NOTE: Projecting a field of a pointer type will attempt a cast from a signed char to
|
||||
// a pointer, which is not supported by gccjit.
|
||||
return self.cx.context.new_cast(self.loc, self.inttoptr(value, val_type.make_pointer()), dest_ty);
|
||||
self.cx.context.new_cast(self.loc, self.inttoptr(value, val_type.make_pointer()), dest_ty)
|
||||
},
|
||||
(false, false) => {
|
||||
// When they are not pointers, we want a transmute (or reinterpret_cast).
|
||||
|
Loading…
x
Reference in New Issue
Block a user