We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bee40a9 + 1e4986c commit 560d999Copy full SHA for 560d999
src/librustc/middle/trans/common.rs
@@ -70,6 +70,7 @@ pub fn type_is_immediate(ccx: &mut CrateContext, ty: ty::t) -> bool {
70
return true;
71
}
72
match ty::get(ty).sty {
73
+ ty::ty_bot => true,
74
ty::ty_struct(*) | ty::ty_enum(*) | ty::ty_tup(*) => {
75
let llty = sizing_type_of(ccx, ty);
76
llsize_of_alloc(ccx, llty) <= llsize_of_alloc(ccx, ccx.int_type)
0 commit comments