diff options
| author | memoryruins <memoryruinsmusic@gmail.com> | 2018-08-10 06:31:40 -0400 |
|---|---|---|
| committer | memoryruins <memoryruinsmusic@gmail.com> | 2018-08-10 06:31:40 -0400 |
| commit | 0123ac12e28e1d8672e66404678893bd1d641714 (patch) | |
| tree | 6faaad2b2bcca677c9c3216e56f6680f94cc9858 | |
| parent | 085535bbe1da2350fb1c58907bf63df446e03dff (diff) | |
| download | rust-0123ac12e28e1d8672e66404678893bd1d641714.tar.gz rust-0123ac12e28e1d8672e66404678893bd1d641714.zip | |
[nll] librustc_codegen_llvm: remove unused mut annotation
| -rw-r--r-- | src/librustc_codegen_llvm/type_of.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_llvm/type_of.rs b/src/librustc_codegen_llvm/type_of.rs index 5fd4f15acd1..69d91b32728 100644 --- a/src/librustc_codegen_llvm/type_of.rs +++ b/src/librustc_codegen_llvm/type_of.rs @@ -89,7 +89,7 @@ fn uncached_llvm_type<'a, 'tcx>(cx: &CodegenCx<'a, 'tcx>, Type::struct_(cx, &[fill], packed) } Some(ref name) => { - let mut llty = Type::named_struct(cx, name); + let llty = Type::named_struct(cx, name); llty.set_struct_body(&[fill], packed); llty } |
