diff options
| author | varkor <github@varkor.com> | 2019-09-16 19:08:35 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-09-25 15:50:04 +0100 |
| commit | e2e0f9af85cbe9c79a04b963df9e87c719339e0e (patch) | |
| tree | 75484ba6c60ece54d7950a7011d7e9e0edcaad67 /src/librustc_codegen_ssa/debuginfo | |
| parent | 2808a46a497959f00fcca87d7874118616356a18 (diff) | |
Rename `sty` to `kind`
Diffstat (limited to 'src/librustc_codegen_ssa/debuginfo')
| -rw-r--r-- | src/librustc_codegen_ssa/debuginfo/type_names.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_ssa/debuginfo/type_names.rs b/src/librustc_codegen_ssa/debuginfo/type_names.rs index 9b5ad94ecd7..d875c60959c 100644 --- a/src/librustc_codegen_ssa/debuginfo/type_names.rs +++ b/src/librustc_codegen_ssa/debuginfo/type_names.rs @@ -32,7 +32,7 @@ pub fn push_debuginfo_type_name<'tcx>( // .natvis visualizers (and perhaps other existing native debuggers?) let cpp_like_names = tcx.sess.target.target.options.is_like_msvc; - match t.sty { + match t.kind { ty::Bool => output.push_str("bool"), ty::Char => output.push_str("char"), ty::Str => output.push_str("str"), |
