diff options
| author | kenta7777 <k.hasegw7@gmail.com> | 2018-09-11 23:17:35 +0900 |
|---|---|---|
| committer | kenta7777 <k.hasegw7@gmail.com> | 2018-09-11 23:17:35 +0900 |
| commit | a0e7b6bf6b96e54051aeeede43378b925e2e5201 (patch) | |
| tree | d5e89f4b029d262a5610ade17746cd01710dfebb /src/librustc_codegen_llvm/debuginfo | |
| parent | 7f8160409f5bb4490720df21e2c4fbf1a647bae2 (diff) | |
| download | rust-a0e7b6bf6b96e54051aeeede43378b925e2e5201.tar.gz rust-a0e7b6bf6b96e54051aeeede43378b925e2e5201.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); } |
