diff options
| author | kenta7777 <k.hasegw7@gmail.com> | 2018-09-10 10:45:16 +0900 |
|---|---|---|
| committer | kenta7777 <k.hasegw7@gmail.com> | 2018-09-10 10:45:16 +0900 |
| commit | 6f685ffad42a2d12dd1fad5ccb0471e7fa260826 (patch) | |
| tree | 9901db781de8c70dd7d64d146599712e2e7a1e2b /src/librustc_codegen_llvm/debuginfo | |
| parent | 37d0600c23ba1890346078bd7f310e15915417b2 (diff) | |
| download | rust-6f685ffad42a2d12dd1fad5ccb0471e7fa260826.tar.gz rust-6f685ffad42a2d12dd1fad5ccb0471e7fa260826.zip | |
renamed is_nil to is_unit
Diffstat (limited to 'src/librustc_codegen_llvm/debuginfo')
| -rw-r--r-- | src/librustc_codegen_llvm/debuginfo/type_names.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_llvm/debuginfo/type_names.rs b/src/librustc_codegen_llvm/debuginfo/type_names.rs index 95a094bf909..f9eb80a1988 100644 --- a/src/librustc_codegen_llvm/debuginfo/type_names.rs +++ b/src/librustc_codegen_llvm/debuginfo/type_names.rs @@ -160,7 +160,7 @@ pub fn push_debuginfo_type_name<'a, 'tcx>(cx: &CodegenCx<'a, 'tcx>, output.push(')'); - if !sig.output().is_nil() { + if !sig.output().is_unit() { output.push_str(" -> "); push_debuginfo_type_name(cx, sig.output(), true, output); } |
