We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 085535b commit 0123ac1Copy full SHA for 0123ac1
src/librustc_codegen_llvm/type_of.rs
@@ -89,7 +89,7 @@ fn uncached_llvm_type<'a, 'tcx>(cx: &CodegenCx<'a, 'tcx>,
89
Type::struct_(cx, &[fill], packed)
90
}
91
Some(ref name) => {
92
- let mut llty = Type::named_struct(cx, name);
+ let llty = Type::named_struct(cx, name);
93
llty.set_struct_body(&[fill], packed);
94
llty
95
0 commit comments