From 10b2083a6d3de2dad2a41639bfe5a90c4d87bf31 Mon Sep 17 00:00:00 2001 From: kenta7777 Date: Tue, 11 Sep 2018 22:18:49 +0900 Subject: Revert "renamed is_nil to is_unit" This reverts commit 6f685ffad42a2d12dd1fad5ccb0471e7fa260826. --- src/librustc_codegen_llvm/debuginfo/type_names.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librustc_codegen_llvm/debuginfo') diff --git a/src/librustc_codegen_llvm/debuginfo/type_names.rs b/src/librustc_codegen_llvm/debuginfo/type_names.rs index f9eb80a1988..95a094bf909 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_unit() { + if !sig.output().is_nil() { output.push_str(" -> "); push_debuginfo_type_name(cx, sig.output(), true, output); } -- cgit 1.4.1-3-g733a5