Closed
Description
struct TestNode {
data: @TestData
}
struct TestData {
parent: Option<TestNode>
}
fn main() {
let node = TestNode {
data: @TestData {
parent: None
}
};
}
rustc: /home/brian/dev/rust/src/llvm/lib/Target/TargetData.cpp:468: uint64_t llvm::TargetData::getTypeSizeInBits(llvm::Type*) const: Assertion `Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"' failed.
Metadata
Metadata
Assignees
Labels
No labels