You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
structSched{i:i32,}implSched{extern"C"fnget(self) -> i32{self.i}}fnmain(){let s = Sched{i:4};let f = || -> i32{
s.get()};println!("f: {}", f());}
stable/beta:
Stored value type does not match pointer operand type!
store { i64 } %0, i32* %1, align 4
i32LLVM ERROR: Broken function found, compilation aborted!
nightly:
rustc: /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/llvm/lib/IR/Instructions.cpp:995: void llvm::StoreInst::AssertOK(): Assertion `getOperand(0)->getType() == cast<PointerType>(getOperand(1)->getType())->getElementType() && "Ptr must be a pointer to Val type!"' failed.
Aborted (core dumped)
The text was updated successfully, but these errors were encountered:
stable/beta:
nightly:
The text was updated successfully, but these errors were encountered: