about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/debuginfo
diff options
context:
space:
mode:
authorTim Diekmann <21277928+TimDiekmann@users.noreply.github.com>2020-10-16 08:54:38 +0200
committerGitHub <noreply@github.com>2020-10-16 08:54:38 +0200
commit955b37b3059a7e06842559af54e1685e33b0cf6c (patch)
treef11d1e90021475b287dcef9ab05f3f3bfc004ea8 /compiler/rustc_codegen_ssa/src/debuginfo
parentd5720bba8f5b278616a2fbd0da39478879a3f68b (diff)
parent8e6f69afc9b0943003ce51a53d1f59611e6601a3 (diff)
downloadrust-955b37b3059a7e06842559af54e1685e33b0cf6c.tar.gz
rust-955b37b3059a7e06842559af54e1685e33b0cf6c.zip
Merge branch 'master' into box-alloc
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/debuginfo')
-rw-r--r--compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs
index 45ecb793387..c4c51d146a6 100644
--- a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs
+++ b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs
@@ -33,7 +33,7 @@ pub fn push_debuginfo_type_name<'tcx>(
 ) {
     // When targeting MSVC, emit C++ style type names for compatibility with
     // .natvis visualizers (and perhaps other existing native debuggers?)
-    let cpp_like_names = tcx.sess.target.target.options.is_like_msvc;
+    let cpp_like_names = tcx.sess.target.options.is_like_msvc;
 
     match *t.kind() {
         ty::Bool => output.push_str("bool"),